|
|
@@ -113,36 +113,24 @@ var GlobalEmitter = Class.extend(ListenerMixin, EmitterMixin, {
|
|
|
if (!this.shouldIgnoreMouse()) {
|
|
|
this.trigger('mousedown', ev);
|
|
|
}
|
|
|
- else {
|
|
|
- this.stopTouch(ev); // kill touch interaction if touchend neglected to fire
|
|
|
- }
|
|
|
},
|
|
|
|
|
|
handleMouseMove: function(ev) {
|
|
|
if (!this.shouldIgnoreMouse()) {
|
|
|
this.trigger('mousemove', ev);
|
|
|
}
|
|
|
- else {
|
|
|
- this.stopTouch(ev); // kill touch interaction if touchend neglected to fire
|
|
|
- }
|
|
|
},
|
|
|
|
|
|
handleMouseUp: function(ev) {
|
|
|
if (!this.shouldIgnoreMouse()) {
|
|
|
this.trigger('mouseup', ev);
|
|
|
}
|
|
|
- else {
|
|
|
- this.stopTouch(ev); // kill touch interaction if touchend neglected to fire
|
|
|
- }
|
|
|
},
|
|
|
|
|
|
handleClick: function(ev) {
|
|
|
if (!this.shouldIgnoreMouse()) {
|
|
|
this.trigger('click', ev);
|
|
|
}
|
|
|
- else {
|
|
|
- this.stopTouch(ev); // kill touch interaction if touchend neglected to fire
|
|
|
- }
|
|
|
},
|
|
|
|
|
|
|