each-* will now check for null on null array [Closes #110]
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment