KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In backbone's todo demo the code has a few spots where _.bindAll(this,...) is used. Specifically it's used in the initialize function of both views. As far as I can tell it's necessary to do the following: this.$('.todo-content').text(content); But why would one want to do the above, when one can do: $('.todo-content').text(content); ?
Tags (comma-separated)
Save Edits
Cancel