b4813fb7 by Adam Heath

Allow for iterate to be overridden thru the adapter.

1 parent f299a825
......@@ -254,7 +254,10 @@ getInputValue = (el) ->
else el.value
iterate = (collection, callback) ->
callback item, i for item, i in collection
if Rivets.config.adapter.iterate
Rivets.config.adapter.iterate collection, callback
else
callback(item, i) for item, i in collection
# Core binding routines.
Rivets.binders =
......