r98791 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98790‎ | r98791 | r98792 >
Date:18:23, 3 October 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Fixed order of initialization in es.DocumentModel
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
@@ -13,11 +13,12 @@
1414 // Inheritance
1515 es.DocumentModelNode.call( this, length );
1616
17 - this.rebuildChildNodes();
18 -
1917 // Properties
2018 this.data = $.isArray( data ) ? data : [];
2119 this.attributes = $.isPlainObject( attributes ) ? attributes : {};
 20+
 21+ // Initialization
 22+ this.rebuildChildNodes();
2223 };
2324
2425 /* Static Members */

Status & tagging log