Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- es.Document = function( wikidomBlocks ) {
- var blocks = [];
- for ( var i = 0; i < wikidomBlocks.length; i++ ) {
- var block = Block.newFromWikidom( wikidomBlocks[i] );
- if ( block ) {
- blocks.push( block );
- }
- }
- es.Container.call( this, 'document', 'blocks', blocks );
- this.width = null;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement