codebrew / backbone-rails

Easily use backbone.js with rails 3.1
MIT License
1.62k stars 255 forks source link

Replace el selectors with cached el usage #131

Closed mkelley33 closed 11 years ago

mkelley33 commented 11 years ago

Backbone now has a cached version of this.$el alleviating the need to call $(this.el) in each view. The fix would be a simple find-and-replace to @$el. I made the change on my fork, but my intention was to first push it into topic repo (sorry, I forgot!) Would this change be of interest to you?

mkelley33 commented 11 years ago

Duplicate of #132