r103570 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103569‎ | r103570 | r103571 >
Date:05:35, 18 November 2011
Author:inez
Status:deferred
Tags:
Comment:
Comment out line that is throwing "Object has no method" when trying to assign output of method to "index" variable, which is not used later anyway.
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/es.TransactionProcessor.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/es.TransactionProcessor.js
@@ -233,7 +233,7 @@
234234 } else {
235235 node = this.getScope( node, op.data );
236236 offset = this.model.getOffsetFromNode( node );
237 - index = node.getIndexFromOffset( this.cursor - offset );
 237+ //index = node.getIndexFromOffset( this.cursor - offset );
238238 }
239239 if ( es.DocumentModel.containsElementData( op.data ) ) {
240240 // Perform insert on linear data model

Status & tagging log