From 419ecf70b25d27e9660990e66deb56fbe83ced6c Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Mon, 25 Feb 2013 08:37:11 +1100 Subject: [PATCH] remove events from ember that seem to be firing too much PR in progress --- app/assets/javascripts/external/ember.js | 5 +++-- app/assets/javascripts/external_production/ember.js | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/external/ember.js b/app/assets/javascripts/external/ember.js index f9666c071ae..ed42c6f0583 100644 --- a/app/assets/javascripts/external/ember.js +++ b/app/assets/javascripts/external/ember.js @@ -13297,7 +13297,7 @@ Ember.EventDispatcher = Ember.Object.extend( setup: function(addedEvents) { var event, events = { touchstart : 'touchStart', - touchmove : 'touchMove', + // touchmove : 'touchMove', touchend : 'touchEnd', touchcancel : 'touchCancel', keydown : 'keyDown', @@ -13308,7 +13308,8 @@ Ember.EventDispatcher = Ember.Object.extend( contextmenu : 'contextMenu', click : 'click', dblclick : 'doubleClick', - mousemove : 'mouseMove', + // https://github.com/emberjs/ember.js/pull/2148 + // mousemove : 'mouseMove', focusin : 'focusIn', focusout : 'focusOut', mouseenter : 'mouseEnter', diff --git a/app/assets/javascripts/external_production/ember.js b/app/assets/javascripts/external_production/ember.js index 78fa0f647b4..d386613ae0e 100644 --- a/app/assets/javascripts/external_production/ember.js +++ b/app/assets/javascripts/external_production/ember.js @@ -13131,7 +13131,7 @@ Ember.EventDispatcher = Ember.Object.extend( setup: function(addedEvents) { var event, events = { touchstart : 'touchStart', - touchmove : 'touchMove', + // touchmove : 'touchMove', touchend : 'touchEnd', touchcancel : 'touchCancel', keydown : 'keyDown', @@ -13142,7 +13142,7 @@ Ember.EventDispatcher = Ember.Object.extend( contextmenu : 'contextMenu', click : 'click', dblclick : 'doubleClick', - mousemove : 'mouseMove', + // mousemove : 'mouseMove', focusin : 'focusIn', focusout : 'focusOut', mouseenter : 'mouseEnter',