Allow multiline javascript expressions, fixes #885

This commit is contained in:
Luke Page
2012-09-02 16:33:15 +01:00
parent 559231a4db
commit 55d6e5a0ba
3 changed files with 4 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
js: 1, 2, 3;
title: "string";
ternary: true;
multiline: 2;
}
.scope {
var: 42;

View File

@@ -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;