Do not parse PaperScript code in exigent mode. Relaxes requirements of semicolons, etc.

This commit is contained in:
Jürg Lehni 2011-07-31 12:14:37 +01:00
parent 3c20f31a28
commit e1d90c921c

View file

@ -100,7 +100,7 @@ var PaperScript = this.PaperScript = new function() {
// Use parse-js to translate the code into a AST structure which is then
// walked and parsed for operators to overload. The resulting AST is
// translated back to code and evaluated.
var ast = parse_js.parse(code, true),
var ast = parse_js.parse(code),
walker = parse_js.ast_walker(),
walk = walker.walk;