Avoid returning unnecessary data from Rivets.View
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -75,6 +75,9 @@ class Rivets.View | ... | @@ -75,6 +75,9 @@ class Rivets.View |
75 | 75 | ||
76 | @bindings.push new Rivets.Binding node, type, model, keypath, pipes | 76 | @bindings.push new Rivets.Binding node, type, model, keypath, pipes |
77 | 77 | ||
78 | # To avoid returning the result of the loop | ||
79 | return | ||
80 | |||
78 | # Binds all of the current bindings for this view. | 81 | # Binds all of the current bindings for this view. |
79 | bind: => | 82 | bind: => |
80 | binding.bind() for binding in @bindings | 83 | binding.bind() for binding in @bindings | ... | ... |
-
Please register or sign in to post a comment