3 ms·
this.$(selector) actually works? I usually use this.$el.find() which seems enormously inefficient...
by dclowd9901 14y ago
this.$(selector) actually works? I usually use this.$el.find() which seems enormously inefficient...
- jashkenas 14y agoYep -- `this.$` is a jQuery lookup scoped within the view's element. http://documentcloud.github.com/backbone/#View-dollar http://documentcloud.github.com/backbone/#View-dollar