mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Fix error in parse-js, forgotten in previous renaming.
This commit is contained in:
parent
28921e9a76
commit
3e373dfb21
1 changed files with 1 additions and 1 deletions
|
@ -1505,7 +1505,7 @@ function gen_code(ast, beautify) {
|
|||
"new": function(ctor, args) {
|
||||
args = args.length > 0 ? "(" + add_commas(MAP(args, make)) + ")" : "";
|
||||
return add_spaces([ "new", parenthesize(ctor, "seq", "binary", "conditional", "assign", function(expr){
|
||||
var w = walker(), has_call = {};
|
||||
var w = ast_walker(), has_call = {};
|
||||
try {
|
||||
w.with_walkers({
|
||||
"call": function() { throw has_call },
|
||||
|
|
Loading…
Reference in a new issue