mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 03:00:09 +00:00
doing magic testing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
25cd2fd0da
commit
d79c0dc193
@ -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;
|
||||
|
||||
@ -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')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user