r105860 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105859‎ | r105860 | r105861 >
Date:10:09, 12 December 2011
Author:gwicke
Status:deferred
Tags:
Comment:
Follow-up to r105859: Add missing new.
Modified paths:
  • /trunk/extensions/VisualEditor/modules/parser/mediawiki.TokenTransformer.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/parser/mediawiki.TokenTransformer.js
@@ -150,7 +150,7 @@
151151 // Prepare to replace the last token in the current accumulator.
152152 accum.pop();
153153 }
154 - var tokenCTX = TokenContext(undefined, accum, this, undefined);
 154+ var tokenCTX = new TokenContext(undefined, accum, this, undefined);
155155 for ( var i = 0, l = tokens.length; i < l; i++ ) {
156156 tokenCTX.lastToken = tokenCTX.token;
157157 tokenCTX.token = tokens[i];

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r105859Further development of the TokenTransformer framework.gwicke10:01, 12 December 2011

Status & tagging log