Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
rivets
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a9e17f2f
authored
2012-07-24 17:51:08 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update the Rivets.View code documentation.
1 parent
9babe608
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/rivets.coffee
src/rivets.coffee
View file @
a9e17f2
...
...
@@ -65,9 +65,9 @@ class Rivets.Binding
if
@
bindType
is
"bidirectional"
@
el
.
removeEventListener
'change'
,
@
publish
# A collection of bindings
for a parent element
.
# A collection of bindings
built from a set of parent elements
.
class
Rivets
.
View
# The
parent DOM element
and the model objects for binding are passed into the
# The
DOM elements
and the model objects for binding are passed into the
# constructor.
constructor
:
(
@
els
,
@
models
)
->
@
els
=
[
@
els
]
unless
(
@
els
.
jquery
||
@
els
instanceof
Array
)
...
...
Please
register
or
sign in
to post a comment