Updated context find (.$) to use new cached, wrapped this.$el.

This commit is contained in:
Douglas Neiner
2012-01-29 08:51:51 -06:00
parent e1762ed077
commit 018c19a12a

View File

@@ -996,7 +996,7 @@
// jQuery delegate for element lookup, scoped to DOM elements within the
// current view. This should be prefered to global lookups where possible.
$: function(selector) {
return $(this.el).find(selector);
return this.$el.find(selector);
},
// Initialize is an empty function by default. Override it with your own