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
3a84f8b6
authored
2012-09-03 16:55:18 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix source comments.
1 parent
088a0570
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/rivets.coffee
src/rivets.coffee
View file @
3a84f8b
...
...
@@ -205,7 +205,7 @@ class Rivets.View
publish
:
=>
binding
.
publish
()
for
binding
in
@
select
(
b
)
->
b
.
isBidirectional
()
# Cross-browser event binding
# Cross-browser event binding
.
bindEvent
=
(
el
,
event
,
fn
)
->
# Check to see if jQuery is loaded.
if
window
.
jQuery
?
...
...
@@ -219,6 +219,7 @@ bindEvent = (el, event, fn) ->
event
=
"on"
+
event
el
.
attachEvent
event
,
fn
# Cross-browser event unbinding.
unbindEvent
=
(
el
,
event
,
fn
)
->
# Check to see if jQuery is loaded.
if
window
.
jQuery
?
...
...
Please
register
or
sign in
to post a comment