22d4da90 by Eric Schoffstall

fix #76 for bidirectional publish bypass

1 parent 7938f1ee
......@@ -90,7 +90,7 @@ class Rivets.Binding
Rivets.config.adapter.subscribe model, keypath, @sync
if @isBidirectional()
if @isBidirectional() and not @options.bypass
bindEvent @el, 'change', @publish
# Unsubscribes from the model and the element.
......