r111105 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111104‎ | r111105 | r111106 >
Date:21:48, 9 February 2012
Author:brion
Status:deferred
Tags:
Comment:
local variable
Modified paths:
  • /trunk/extensions/VisualEditor/modules/sandbox/sandbox.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/sandbox/sandbox.js
@@ -654,7 +654,7 @@
655655 for ( j = 0; j < history[i].stack.length; j++) {
656656 ops = history[i].stack[j].getOperations().slice(0);
657657 for ( k = 0; k < ops.length; k++ ) {
658 - data = ops[k].data || ops[k].length;
 658+ var data = ops[k].data || ops[k].length;
659659 if ( ve.isArray( data ) ) {
660660 data = data[0];
661661 if ( ve.isArray( data ) ) {

Status & tagging log