minor fixes
[redakcja.git] / apps / wiki / static--wiki--editor--node_modules--grunt-contrib-less--node_modules--less--test / less / javascript.less
1 .eval {
2     js: `42`;
3     js: `1 + 1`;
4     js: `"hello world"`;
5     js: `[1, 2, 3]`;
6     title: `typeof process.title`;
7     ternary: `(1 + 1 == 2 ? true : false)`;
8     multiline: `(function(){var x = 1 + 1;
9            return x})()`;
10 }
11 .scope {
12     @foo: 42;
13     var: `parseInt(this.foo.toJS())`;
14     escaped: ~`2 + 5 + 'px'`;
15 }
16 .vars {
17     @var: `4 + 4`;
18     width: @var;
19 }
20 .escape-interpol {
21     @world: "world";
22     width: ~`"hello" + " " + @{world}`;
23 }
24 .arrays {
25     @ary:  1, 2, 3;
26     @ary2: 1  2  3;
27     ary: `@{ary}.join(', ')`;
28     ary1: `@{ary2}.join(', ')`;
29 }