8d1ea999 by Terrance A. Snyder

each-* will now check for null on null array [Closes #110]

1 parent 835f5406
...@@ -339,6 +339,7 @@ Rivets.binders = ...@@ -339,6 +339,7 @@ Rivets.binders =
339 339
340 @iterated = [] 340 @iterated = []
341 341
342 if collection
342 for item in collection 343 for item in collection
343 data = {} 344 data = {}
344 data[n] = m for n, m of @view.models 345 data[n] = m for n, m of @view.models
......