r99431 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99430‎ | r99431 | r99432 >
Date:21:32, 10 October 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Moved todo, tree sync needs to happen after the transaction, but we probably need to build a todo list along the way
Modified paths:
  • /trunk/parsers/wikidom/lib/hype/models/es.DocumentModel.js (modified) (history)

Diff [purge]

Index: trunk/parsers/wikidom/lib/hype/models/es.DocumentModel.js
@@ -91,14 +91,10 @@
9292 }
9393 annotate.call( this, this.cursor + op.data.length );
9494 this.cursor += op.data.length;
95 -
96 - // TODO: Synchronize op.tree - insert elements and adjust lengths
9795 }
9896
9997 function remove( op ) {
10098 this.data.splice( this.cursor, op.data.length );
101 -
102 - // TODO: Synchronize op.tree - remove elements and adjust lengths
10399 }
104100
105101 function attribute( op, invert ) {
@@ -710,6 +706,7 @@
711707 throw 'Invalid operation error. Operation type is not supported: ' + operation.type;
712708 }
713709 }
 710+ // TODO: Synchronize op.tree - insert elements and adjust lengths
714711 };
715712
716713 /**
@@ -734,6 +731,7 @@
735732 throw 'Invalid operation error. Operation type is not supported: ' + operation.type;
736733 }
737734 }
 735+ // TODO: Synchronize op.tree - insert elements and adjust lengths
738736 };
739737
740738 /* Inheritance */

Status & tagging log