a348cee6 by Nicklas Ansman Giertz

Avoid returning unnecessary data from Rivets.View

1 parent 233c0024
...@@ -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
......