mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-22 21:38:00 -05:00
Return this from View.setElement
This commit is contained in:
@@ -1031,6 +1031,7 @@
|
||||
this.$el = $(element);
|
||||
this.el = this.$el[0];
|
||||
if (delegate !== false) this.delegateEvents();
|
||||
return this;
|
||||
},
|
||||
|
||||
// Set callbacks, where `this.events` is a hash of
|
||||
|
||||
Reference in New Issue
Block a user