Fix PaperScript code generation to wrap on new-lines, so missing colons will not cause errors.

This commit is contained in:
Jürg Lehni 2011-07-09 09:20:13 +02:00
parent b5d3cf2ad0
commit 6694d08d0f

View file

@ -125,7 +125,9 @@ var PaperScript = this.PaperScript = new function() {
return walk(ast);
});
return parse_js.gen_code(ast, true);
return parse_js.gen_code(ast, {
beautify: true
});
}
function evaluate(code, scope) {