Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
use addGesture/removeGesture
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed Jul 31, 2014
1 parent 7b918d7 commit 465217c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core-selector.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,11 @@
},

addListener: function(node) {
node.addEventListener(this.activateEvent, this.activateListener);
PolymerGestures.addGesture(node, this.activateEvent, this.activateListener);
},

removeListener: function(node) {
node.removeEventListener(this.activateEvent, this.activateListener);
PolymerGestures.removeGesture(node, this.activateEvent, this.activateListener);
},

get selection() {
Expand Down

0 comments on commit 465217c

Please sign in to comment.