a9e17f2f by Michael Richards

Update the Rivets.View code documentation.

1 parent 9babe608
...@@ -65,9 +65,9 @@ class Rivets.Binding ...@@ -65,9 +65,9 @@ class Rivets.Binding
65 if @bindType is "bidirectional" 65 if @bindType is "bidirectional"
66 @el.removeEventListener 'change', @publish 66 @el.removeEventListener 'change', @publish
67 67
68 # A collection of bindings for a parent element. 68 # A collection of bindings built from a set of parent elements.
69 class Rivets.View 69 class Rivets.View
70 # The parent DOM element and the model objects for binding are passed into the 70 # The DOM elements and the model objects for binding are passed into the
71 # constructor. 71 # constructor.
72 constructor: (@els, @models) -> 72 constructor: (@els, @models) ->
73 @els = [@els] unless (@els.jquery || @els instanceof Array) 73 @els = [@els] unless (@els.jquery || @els instanceof Array)
......