Return this from View.setElement

This commit is contained in:
Joss Crowcroft
2012-01-31 17:18:16 +08:00
parent 843eacfcd3
commit 4ad12bcd0a

View File

@@ -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