2b61f693 by Michael Richards

Add the fix to allow more dynamic select options using the each-* binder (credit…

… to @codepodu via #115). [#75]
1 parent cae03114
......@@ -183,6 +183,11 @@ Rivets.binders['each-*'] =
else if @iterated[index].models[modelName] isnt model
@iterated[index].update data
if el.nodeName is 'OPTION'
for binding in @view.bindings
if binding.el is @marker.parentNode and binding.type is 'value'
binding.sync()
update: (models) ->
data = {}
......