diff --git a/ext-lib/iscroll-custom.js b/ext-lib/iscroll-custom.js index 9ed437c..517b1b5 100755 --- a/ext-lib/iscroll-custom.js +++ b/ext-lib/iscroll-custom.js @@ -628,6 +628,7 @@ iScroll.prototype = { that.moved = true; if (that.options.useTransition) { + console.log('transition move...') that._transitionTime(step.time); that._pos(step.x, step.y); that.animating = false; @@ -636,6 +637,8 @@ iScroll.prototype = { return; } + console.log('animate move...') + animate = function () { var now = Date.now(), newX, newY; diff --git a/index-iscroll.html b/index-iscroll.html index 75158c6..260671a 100755 --- a/index-iscroll.html +++ b/index-iscroll.html @@ -120,20 +120,6 @@ $(document).ready(function(){ hScrollbar: false, }) - /* - $('.page').click(function(){ - if(togglePageView('?') == 'off'){ - togglePageView('on') - myScroll.options.snap = '.page' - myScroll.refresh() - } else { - togglePageView('off') - myScroll.options.snap = false - myScroll.refresh() - } - }) - */ - // XXX stub... setTransitionEasing($('.magazine'), 'ease-out')