r99147 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99146‎ | r99147 | r99148 >
Date:21:41, 6 October 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Added reference to model tree to the transaction state object. Removed a console.log
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
@@ -57,9 +57,6 @@
5858 i--;
5959 }
6060 }
61 -
62 - console.dir( node );
63 -
6461 return node;
6562 };
6663
@@ -620,6 +617,7 @@
621618 es.DocumentModel.prototype.commit = function( transaction ) {
622619 var state = {
623620 'data': this.data,
 621+ 'tree': this,
624622 'cursor': 0,
625623 'set': [],
626624 'clear': []
@@ -643,6 +641,7 @@
644642 es.DocumentModel.prototype.rollback = function( transaction ) {
645643 var state = {
646644 'data': this.data,
 645+ 'tree': this,
647646 'cursor': 0,
648647 'set': [],
649648 'clear': []

Status & tagging log