Index: trunk/parsers/wikidom/lib/synth/models/es.BlockModel.js |
— | — | @@ -2,14 +2,13 @@ |
3 | 3 | * Creates an es.BlockModel object. |
4 | 4 | * |
5 | 5 | * @class |
6 | | - * @extends {es.EventEmitter} |
| 6 | + * @extends {es.ModelContainerItem} |
7 | 7 | * @abstract |
8 | 8 | * @constructor |
9 | 9 | * @param traits {Array} List of trait names |
10 | 10 | * @property traits {Array} List of trait names |
11 | 11 | */ |
12 | 12 | es.BlockModel = function( traits ) { |
13 | | - es.EventEmitter.call( this ); |
14 | 13 | es.ModelContainerItem.call( this, 'document' ); |
15 | 14 | this.traits = traits || []; |
16 | 15 | }; |
— | — | @@ -173,5 +172,4 @@ |
174 | 173 | throw 'BlockModel.getPlainObject not implemented in this subclass.'; |
175 | 174 | }; |
176 | 175 | |
177 | | -es.extend( es.BlockModel, es.EventEmitter ); |
178 | 176 | es.extend( es.BlockModel, es.ModelContainerItem ); |