Oops: Forgot debugging information in scrolling handlers

This commit is contained in:
Robin Ward 2013-06-20 14:32:22 -04:00
parent a8b5716421
commit d78898443d
1 changed files with 0 additions and 2 deletions

View File

@ -57,13 +57,11 @@ Discourse.Scrolling = Em.Mixin.create({
Discourse.ScrollingDOMMethods = { Discourse.ScrollingDOMMethods = {
bindOnScroll: function(onScrollMethod) { bindOnScroll: function(onScrollMethod) {
console.log("BOUND");
$(document).bind('touchmove.discourse', onScrollMethod); $(document).bind('touchmove.discourse', onScrollMethod);
$(window).bind('scroll.discourse', onScrollMethod); $(window).bind('scroll.discourse', onScrollMethod);
}, },
unbindOnScroll: function() { unbindOnScroll: function() {
console.log("UNBOUND");
$(window).unbind('scroll.discourse'); $(window).unbind('scroll.discourse');
$(document).unbind('touchmove.discourse'); $(document).unbind('touchmove.discourse');
} }