Permalink
Browse files

removed 'change' from collection triggers (to prevent unnecessary red…

…raws)
  • Loading branch information...
1 parent 34cdbfd commit 49fdd323b3384df139f65d957a08046f78c34c0f @hunterloftis committed May 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 bindings.coffee
View
@@ -63,9 +63,9 @@ do (Backbone) ->
@container.html('')
@collection = @viewModel.get(@attr)
if @collection instanceof Backbone.Collection
- @collection.off('add remove reset change create sort', @onCollectionChange);
+ @collection.off('add remove reset create sort', @onCollectionChange);
@collection.each(@renderItem);
- @collection.on('add remove reset change create sort', @onCollectionChange);
+ @collection.on('add remove reset create sort', @onCollectionChange);
else
@renderItem(item) for item in @collection
renderItem: (viewModel) =>

0 comments on commit 49fdd32

Please sign in to comment.