(new) interpolation & escaping of JS

This commit is contained in:
Alexis Sellier
2011-05-11 13:57:52 -04:00
parent 4ee78458c9
commit 37a90c6765
5 changed files with 30 additions and 7 deletions

View File

@@ -14,3 +14,7 @@
@var: `4 + 4`;
width: @var;
}
.escape-interpol {
@world: "world";
width: ~`"hello" + " " + "@{world}"`;
}