Access binders from the Rivets object instead of assuming the global module's presence.
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -400,13 +400,13 @@ Rivets.binders = | ... | @@ -400,13 +400,13 @@ Rivets.binders = |
400 | block: true | 400 | block: true |
401 | 401 | ||
402 | bind: (el) -> | 402 | bind: (el) -> |
403 | rivets.binders.if.bind.call @, el | 403 | Rivets.binders.if.bind.call @, el |
404 | 404 | ||
405 | unbind: -> | 405 | unbind: -> |
406 | rivets.binders.if.unbind.call @ | 406 | Rivets.binders.if.unbind.call @ |
407 | 407 | ||
408 | routine: (el, value) -> | 408 | routine: (el, value) -> |
409 | rivets.binders.if.routine.call @, el, not value | 409 | Rivets.binders.if.routine.call @, el, not value |
410 | 410 | ||
411 | "on-*": | 411 | "on-*": |
412 | function: true | 412 | function: true | ... | ... |
-
Please register or sign in to post a comment