r92761 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92760‎ | r92761 | r92762 >
Date:18:03, 21 July 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Re-ordered arguments of Container constructor.
Modified paths:
  • /trunk/parsers/wikidom/lib/es/es.Container.js (modified) (history)
  • /trunk/parsers/wikidom/lib/es/es.Document.js (modified) (history)

Diff [purge]

Index: trunk/parsers/wikidom/lib/es/es.Document.js
@@ -5,7 +5,7 @@
66 * @returns {es.Document}
77 */
88 es.Document = function( blocks ) {
9 - es.Container.call( this, blocks, 'document', 'blocks' );
 9+ es.Container.call( this, 'document', 'blocks', blocks );
1010 this.width = null;
1111 }
1212
Index: trunk/parsers/wikidom/lib/es/es.Container.js
@@ -4,7 +4,7 @@
55 * @param items {Array} List of items
66 * @returns {es.Container}
77 */
8 -es.Container = function( items, typeName, listName ) {
 8+es.Container = function( typeName, listName, items ) {
99 es.EventEmitter.call( this );
1010 if ( typeof typeName !== 'string' ) {
1111 typeName = 'container';

Status & tagging log