r96615 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96614‎ | r96615 | r96616 >
Date:20:58, 8 September 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Removed duplicate extension
Modified paths:
  • /trunk/parsers/wikidom/lib/synth/models/es.BlockModel.js (modified) (history)

Diff [purge]

Index: trunk/parsers/wikidom/lib/synth/models/es.BlockModel.js
@@ -2,14 +2,13 @@
33 * Creates an es.BlockModel object.
44 *
55 * @class
6 - * @extends {es.EventEmitter}
 6+ * @extends {es.ModelContainerItem}
77 * @abstract
88 * @constructor
99 * @param traits {Array} List of trait names
1010 * @property traits {Array} List of trait names
1111 */
1212 es.BlockModel = function( traits ) {
13 - es.EventEmitter.call( this );
1413 es.ModelContainerItem.call( this, 'document' );
1514 this.traits = traits || [];
1615 };
@@ -173,5 +172,4 @@
174173 throw 'BlockModel.getPlainObject not implemented in this subclass.';
175174 };
176175
177 -es.extend( es.BlockModel, es.EventEmitter );
178176 es.extend( es.BlockModel, es.ModelContainerItem );

Status & tagging log