29a09067 by Michael Richards

Add support for using bypass binding declarations on iterated items.

1 parent dd452d26
...@@ -88,6 +88,7 @@ class Rivets.Binding ...@@ -88,6 +88,7 @@ class Rivets.Binding
88 88
89 # Unsubscribes from the model and the element. 89 # Unsubscribes from the model and the element.
90 unbind: => 90 unbind: =>
91 unless @options.bypass
91 Rivets.config.adapter.unsubscribe @model, @keypath, @set 92 Rivets.config.adapter.unsubscribe @model, @keypath, @set
92 93
93 if @options.dependencies?.length 94 if @options.dependencies?.length
......