git.s-ol.nu mmm / portfolio
bugfixes s-ol 3 years ago
4 changed file(s) with 10 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
2727
2828 text = (str) ->
2929 str = tostring str
30 str\gsub '[}{">/<\'&]', escapes
30 (str\gsub '[}{">/<\'&]', escapes)
3131
3232 class ReactiveVar
3333 @isinstance: (val) -> 'table' == (type val) and val.subscribe
6161 html = html\gsub '<mmm%-embed%s+(.-)>(.-)</mmm%-embed>', (attrs, desc) ->
6262 path, facet = '', ''
6363 opts = {}
64 if #desc != 0
65 opts.desc = desc
64 opts.desc = desc if #desc > 0
6665
6766 while attrs and attrs != ''
6867 key, val, _attrs = attrs\match '^(%w+)="([^"]-)"%s*(.*)'
9695 nolink = js_fix element\getAttribute 'nolink'
9796 inline = js_fix element\getAttribute 'inline'
9897 desc = js_fix element.innerText
98 desc = nil if #desc < 1
9999
100100 element\replaceWith embed path or '', facet or '', fileder, { :nolink, :inline, :desc }
101101
1919 If they succeed, they can optionally try to arrange a meeting point on the grounds of the showcase to debrief and reflect on their experience.
2020
2121 Though *Tre Telefoni* has been designed as an installation piece as described above,
22 a [web-based rototype][proto] is also available to playtest the premise itself.
22 a [web-based prototype][proto] is also available to playtest the premise itself.
2323
2424 artist statement
2525 ----------------
3939 text-decoration: underline;
4040 text-decoration-color: transparent;
4141
42 &:hover {
42 cursor: default;
43 &[href] {
44 cursor: pointer;
45 }
46
47 &[href]:hover {
4348 filter: invert(40%);
4449 text-decoration-color: currentColor;
4550 }