bugfixes
s-ol
3 years ago
27 | 27 |
|
28 | 28 |
text = (str) ->
|
29 | 29 |
str = tostring str
|
30 | |
str\gsub '[}{">/<\'&]', escapes
|
|
30 |
(str\gsub '[}{">/<\'&]', escapes)
|
31 | 31 |
|
32 | 32 |
class ReactiveVar
|
33 | 33 |
@isinstance: (val) -> 'table' == (type val) and val.subscribe
|
61 | 61 |
html = html\gsub '<mmm%-embed%s+(.-)>(.-)</mmm%-embed>', (attrs, desc) ->
|
62 | 62 |
path, facet = '', ''
|
63 | 63 |
opts = {}
|
64 | |
if #desc != 0
|
65 | |
opts.desc = desc
|
|
64 |
opts.desc = desc if #desc > 0
|
66 | 65 |
|
67 | 66 |
while attrs and attrs != ''
|
68 | 67 |
key, val, _attrs = attrs\match '^(%w+)="([^"]-)"%s*(.*)'
|
|
96 | 95 |
nolink = js_fix element\getAttribute 'nolink'
|
97 | 96 |
inline = js_fix element\getAttribute 'inline'
|
98 | 97 |
desc = js_fix element.innerText
|
|
98 |
desc = nil if #desc < 1
|
99 | 99 |
|
100 | 100 |
element\replaceWith embed path or '', facet or '', fileder, { :nolink, :inline, :desc }
|
101 | 101 |
|
19 | 19 |
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.
|
20 | 20 |
|
21 | 21 |
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.
|
23 | 23 |
|
24 | 24 |
artist statement
|
25 | 25 |
----------------
|
39 | 39 |
text-decoration: underline;
|
40 | 40 |
text-decoration-color: transparent;
|
41 | 41 |
|
42 | |
&:hover {
|
|
42 |
cursor: default;
|
|
43 |
&[href] {
|
|
44 |
cursor: pointer;
|
|
45 |
}
|
|
46 |
|
|
47 |
&[href]:hover {
|
43 | 48 |
filter: invert(40%);
|
44 | 49 |
text-decoration-color: currentColor;
|
45 | 50 |
}
|