mirror of
https://github.com/less/less.js.git
synced 2026-01-22 21:58:14 -05:00
17 lines
269 B
Plaintext
17 lines
269 B
Plaintext
.eval {
|
|
js: `42`;
|
|
js: `1 + 1`;
|
|
js: `"hello world"`;
|
|
title: `process.title`;
|
|
ternary: `(1 + 1 == 2 ? true : false)`;
|
|
}
|
|
.scope {
|
|
@foo: 42;
|
|
var: `this.foo.toJS()`;
|
|
escaped: e(`2 + 5 + 'px'`);
|
|
}
|
|
.vars {
|
|
@var: `4 + 4`;
|
|
width: @var;
|
|
}
|