doing magic testing...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-02-23 02:39:21 +04:00
parent 25cd2fd0da
commit d79c0dc193
2 changed files with 3 additions and 14 deletions

View File

@ -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;

View File

@ -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')