Document delegateEvents change from #3060

This commit is contained in:
Adam Krebs
2015-05-27 14:36:54 -04:00
parent cc2581598d
commit 15215706f1

View File

@@ -4256,6 +4256,11 @@ ActiveRecord::Base.include_root_in_json = false
Also on the subject of jQuery, if you're using Backbone with CommonJS (node, browserify, webpack)
Backbone will automatically try to load jQuery for you.
</li>
<li>
Views now always delegate their events in <a href="#View-setElement">setElement</a>.
You can no longer modify the elements hash or your view's <tt>el</tt> property in
<tt>initialize</tt>.
</li>
<li>
Added an <tt>"update"</tt> event that triggers after any amount of
models are added or removed from a collection. Handy to re-render lists