7aece56e by Michael Richards

Merge pull request #77 from Contra/patch-1

fix #76 for bidirectional publish bypass
2 parents 7938f1ee 22d4da90
...@@ -90,7 +90,7 @@ class Rivets.Binding ...@@ -90,7 +90,7 @@ class Rivets.Binding
90 90
91 Rivets.config.adapter.subscribe model, keypath, @sync 91 Rivets.config.adapter.subscribe model, keypath, @sync
92 92
93 if @isBidirectional() 93 if @isBidirectional() and not @options.bypass
94 bindEvent @el, 'change', @publish 94 bindEvent @el, 'change', @publish
95 95
96 # Unsubscribes from the model and the element. 96 # Unsubscribes from the model and the element.
......