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
b4813fb7
authored
2013-03-25 16:56:17 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Allow for iterate to be overridden thru the adapter.
1 parent
f299a825
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/rivets.coffee
src/rivets.coffee
View file @
b4813fb
...
...
@@ -254,7 +254,10 @@ getInputValue = (el) ->
else
el
.
value
iterate
=
(
collection
,
callback
)
->
callback
item
,
i
for
item
,
i
in
collection
if
Rivets
.
config
.
adapter
.
iterate
Rivets
.
config
.
adapter
.
iterate
collection
,
callback
else
callback
(
item
,
i
)
for
item
,
i
in
collection
# Core binding routines.
Rivets
.
binders
=
...
...
Please
register
or
sign in
to post a comment