Fix source comments.
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -205,7 +205,7 @@ class Rivets.View | ... | @@ -205,7 +205,7 @@ class Rivets.View |
205 | publish: => | 205 | publish: => |
206 | binding.publish() for binding in @select (b) -> b.isBidirectional() | 206 | binding.publish() for binding in @select (b) -> b.isBidirectional() |
207 | 207 | ||
208 | # Cross-browser event binding | 208 | # Cross-browser event binding. |
209 | bindEvent = (el, event, fn) -> | 209 | bindEvent = (el, event, fn) -> |
210 | # Check to see if jQuery is loaded. | 210 | # Check to see if jQuery is loaded. |
211 | if window.jQuery? | 211 | if window.jQuery? |
... | @@ -219,6 +219,7 @@ bindEvent = (el, event, fn) -> | ... | @@ -219,6 +219,7 @@ bindEvent = (el, event, fn) -> |
219 | event = "on" + event | 219 | event = "on" + event |
220 | el.attachEvent event, fn | 220 | el.attachEvent event, fn |
221 | 221 | ||
222 | # Cross-browser event unbinding. | ||
222 | unbindEvent = (el, event, fn) -> | 223 | unbindEvent = (el, event, fn) -> |
223 | # Check to see if jQuery is loaded. | 224 | # Check to see if jQuery is loaded. |
224 | if window.jQuery? | 225 | if window.jQuery? | ... | ... |
-
Please register or sign in to post a comment