From 4745a8a56b453eb3f73dce4d7c3a27b237c455e9 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Thu, 31 Jul 2014 11:17:01 -0700 Subject: [PATCH] Add Polymer.addEventListener and Polymer.removeEventListener --- src/instance/events.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/instance/events.js b/src/instance/events.js index 5200828..abfa349 100644 --- a/src/instance/events.js +++ b/src/instance/events.js @@ -49,4 +49,8 @@ scope.api.instance.events = events; + // alias PolymerGestures event listener logic + scope.addEventListener = PolymerGestures.addEventListener; + scope.removeEventListener = PolymerGestures.removeEventListener; + })(Polymer);