r103483 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103482‎ | r103483 | r103484 >
Date:18:14, 17 November 2011
Author:tparscal
Status:ok
Tags:
Comment:
Addressing another issue in r103447 - minor adjustment to loop
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/es.TransactionProcessor.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/es.TransactionProcessor.js
@@ -125,7 +125,7 @@
126126 }
127127 }
128128 if ( maxDepth > 0 ) {
129 - for ( i = 1; i < maxDepth; i++ ) {
 129+ for ( i = 0; i < maxDepth - 1; i++ ) {
130130 node = node.getParent();
131131 }
132132 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r103447Reduced (dramatically) the number of re-renders on insert (but there's still ...tparscal08:03, 17 November 2011

Status & tagging log