Index: trunk/parsers/wikidom/lib/es/es.Document.js |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | * @returns {es.Document} |
7 | 7 | */ |
8 | 8 | es.Document = function( blocks ) { |
9 | | - es.Container.call( this, blocks, 'document', 'blocks' ); |
| 9 | + es.Container.call( this, 'document', 'blocks', blocks ); |
10 | 10 | this.width = null; |
11 | 11 | } |
12 | 12 | |
Index: trunk/parsers/wikidom/lib/es/es.Container.js |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | * @param items {Array} List of items |
6 | 6 | * @returns {es.Container} |
7 | 7 | */ |
8 | | -es.Container = function( items, typeName, listName ) { |
| 8 | +es.Container = function( typeName, listName, items ) { |
9 | 9 | es.EventEmitter.call( this ); |
10 | 10 | if ( typeof typeName !== 'string' ) { |
11 | 11 | typeName = 'container'; |