mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 14:33:59 +00:00
Fix fatal error in parse.js
Trying something trivial like echo 'Hello world' | node parse.js would throw TypeError: Function.prototype.apply: Arguments list has wrong type Change-Id: Ia0a1154b0f3edbfb1f228a1d2072fced1b147141
This commit is contained in:
parent
b1bd0d73ec
commit
c256ea7d71
|
@ -200,7 +200,7 @@ function AsyncTokenTransformManager ( env, isInclude, pipeFactory, phaseEndRank,
|
|||
this.pipeFactory = pipeFactory;
|
||||
this.phaseEndRank = phaseEndRank;
|
||||
this.attributeType = attributeType;
|
||||
this.setFrame( null, null, {} );
|
||||
this.setFrame( null, null, [] );
|
||||
this._construct();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue