Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add on/off to Events.wrap
- Loading branch information
Showing
with
4 additions
and
0 deletions.
-
+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) -> |
|
|