evt.targetNode property for Hammer Event

This commit is contained in:
Лаврёнов Антон
2014-02-28 08:20:20 +08:00
parent faa3ef13cd
commit 3c508f96ab

View File

@@ -380,7 +380,9 @@
} }
return this; return this;
}, },
// some event aliases for third party integration like HammerJS
dispatchEvent: function(evt) { dispatchEvent: function(evt) {
evt.targetNode = this;
this.fire(evt.type, evt); this.fire(evt.type, evt);
}, },
addEventListener: function() { addEventListener: function() {