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 @@
58
58
i--;
59
59
}
60
60
}
61
-
62
- console.dir( node );
63
-
64
61
return node;
65
62
};
66
63
—
—
@@ -620,6 +617,7 @@
621
618
es.DocumentModel.prototype.commit = function( transaction ) {
622
619
var state = {
623
620
'data': this.data,
621
+ 'tree': this,
624
622
'cursor': 0,
625
623
'set': [],
626
624
'clear': []
—
—
@@ -643,6 +641,7 @@
644
642
es.DocumentModel.prototype.rollback = function( transaction ) {
645
643
var state = {
646
644
'data': this.data,
645
+ 'tree': this,
647
646
'cursor': 0,
648
647
'set': [],
649
648
'clear': []
Status & tagging log
15:38, 10 October 2011
😂
(
talk
|
contribs
)
changed the
status
of r99147
[
removed:
new
added:
deferred]