|
|
|
@ -113,9 +113,9 @@ module.exports = Backbone.Model.extend(Styleable).extend({ |
|
|
|
this.defaultCl = this.normalizeClasses(this.get('classes') || this.config.classes || []); |
|
|
|
this.components = new Components(this.defaultC, opt); |
|
|
|
this.components.parent = this; |
|
|
|
this.set('attributes', this.get('attributes') || {}); |
|
|
|
this.listenTo(this, 'change:script', this.scriptUpdated); |
|
|
|
this.listenTo(this, 'change:traits', this.traitsUpdated); |
|
|
|
this.set('attributes', this.get('attributes') || {}); |
|
|
|
this.set('components', this.components); |
|
|
|
this.set('classes', new Selectors(this.defaultCl)); |
|
|
|
var traits = new Traits(); |
|
|
|
|