mirror of
https://github.com/less/less.js.git
synced 2026-02-09 14:35:44 -05:00
Allow multiline javascript expressions, fixes #885
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
js: 1, 2, 3;
|
||||
title: "string";
|
||||
ternary: true;
|
||||
multiline: 2;
|
||||
}
|
||||
.scope {
|
||||
var: 42;
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user