Add support for using bypass binding declarations on iterated items.
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment