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
5b4492b5
authored
2012-09-03 13:33:43 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Implement sync/publish functions on Rivets.View.
1 parent
a85ebea4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
src/rivets.coffee
src/rivets.coffee
View file @
5b4492b
...
...
@@ -189,6 +189,12 @@ class Rivets.View
unbind
:
=>
binding
.
unbind
()
for
binding
in
@
bindings
sync
:
=>
binding
.
sync
()
for
binding
in
@
bindings
publish
:
=>
binding
.
publish
()
for
binding
in
@
bidirectionals
()
# Cross-browser event binding
bindEvent
=
(
el
,
event
,
fn
)
->
# Check to see if jQuery is loaded.
...
...
Please
register
or
sign in
to post a comment