Sha256: 575fc0ca2f74bb625a3055e8818f327865cd281e19db6ec7aa7e9ea984866cda

Contents?: true

Size: 560 Bytes

Versions: 3

Compression:

Stored size: 560 Bytes

Contents

.eval {
    js: `42`;
    js: `1 + 1`;
    js: `"hello world"`;
    js: `[1, 2, 3]`;
    title: `typeof process.title`;
    ternary: `(1 + 1 == 2 ? true : false)`;
    multiline: `(function(){var x = 1 + 1;
           return x})()`;
}
.scope {
    @foo: 42;
    var: `this.foo.toJS()`;
    escaped: ~`2 + 5 + 'px'`;
}
.vars {
    @var: `4 + 4`;
    width: @var;
}
.escape-interpol {
    @world: "world";
    width: ~`"hello" + " " + @{world}`;
}
.arrays {
    @ary:  1, 2, 3;
    @ary2: 1  2  3;
    ary: `@{ary}.join(', ')`;
    ary1: `@{ary2}.join(', ')`;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
less-2.3.3 lib/less/js/test/less/javascript.less
less-2.3.2 lib/less/js/test/less/javascript.less
less-2.3.1 lib/less/js/test/less/javascript.less