ec42165d by Michael Richards

Use the defined cross-browser compatable event unbinder for unbinding dependency callbacks.

1 parent c9991635
...@@ -100,7 +100,7 @@ class Rivets.Binding ...@@ -100,7 +100,7 @@ class Rivets.Binding
100 Rivets.config.adapter.unsubscribe @model, @keypath, @sync 100 Rivets.config.adapter.unsubscribe @model, @keypath, @sync
101 101
102 if @isBidirectional() 102 if @isBidirectional()
103 @el.removeEventListener 'change', @publish 103 unbindEvent @el 'change', @publish
104 104
105 if @options.dependencies?.length 105 if @options.dependencies?.length
106 for keypath in @options.dependencies 106 for keypath in @options.dependencies
......