Rename Whisper.View#attributes
Avoid colliding with Backbone.View attributes, which is a list of attrs to set on the html element for a view.
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
this.$el.trigger('remove', {modelId: this.model.id});
|
||||
this.remove();
|
||||
},
|
||||
attributes: function() {
|
||||
render_attributes: function() {
|
||||
return { name: this.model.getTitle() };
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user