2cdc7fcf by Michael Richards

Only call update on the nested view if it exists in the binder's update function.

1 parent 5a20a8a7
...@@ -543,7 +543,7 @@ Rivets.binders = ...@@ -543,7 +543,7 @@ Rivets.binders =
543 delete @nested 543 delete @nested
544 544
545 update: (models) -> 545 update: (models) ->
546 @nested.update models 546 @nested?.update models
547 547
548 unless: 548 unless:
549 block: true 549 block: true
......