ab7fd75f by Michael Richards

Include the model contexts from the parent view so that they're available inside iteration bindings.

1 parent 90341ef8
......@@ -223,6 +223,7 @@ iterationBinding = (name) -> (el, collection, binding) ->
for item in collection
data = {}
data[n] = m for n, m of binding.view.models
data[name] = item
itemEl = el.cloneNode true
previous = binding.iterated[binding.iterated.length - 1] or binding.marker
......