a2234cde by Michael Richards

Add a default event handler configuration that passes a single extra argument co…

…ntaining the view models. [#161]
1 parent 3f76c4a6
......@@ -441,6 +441,8 @@ Rivets.binders =
# overridden globally or local to a `Rivets.View` instance.
Rivets.config =
preloadData: true
handler: (fn, context, ev, binding) ->
fn.call context, ev, binding.view.models
# Rivets.formatters
# -----------------
......