Permalink
Browse files

Add on/off to Events.wrap

  • Loading branch information...
koenbok committed May 1, 2016
1 parent 9091c1a commit a699ef8b62a7f3a608d4b02fa7185765f2e9b3a1
Showing with 4 additions and 0 deletions.
  1. +4 −0 framer/DOMEventManager.coffee
@@ -21,6 +21,10 @@ class DOMEventManagerElement extends EventEmitter
addEventListener: @::addListener
removeEventListener: @::removeListener
# Keep the Node API working
on: @::addListener
off: @::removeListener
class exports.DOMEventManager
constructor: (element) ->

0 comments on commit a699ef8

Please sign in to comment.