Merge branch 'patch-1' of https://github.com/quarterto/less.js into 1.5.0-wip

This commit is contained in:
Luke Page
2013-09-01 18:27:37 +01:00

View File

@@ -19,7 +19,7 @@ tree.JavaScript.prototype = {
try {
expression = new(Function)('return (' + expression + ')');
} catch (e) {
throw { message: "JavaScript evaluation error: `" + expression + "`" ,
throw { message: "JavaScript evaluation error: " + e.message + " from `" + expression + "`" ,
index: this.index };
}