mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 11:10:08 +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;
|
that.moved = true;
|
||||||
|
|
||||||
if (that.options.useTransition) {
|
if (that.options.useTransition) {
|
||||||
|
console.log('transition move...')
|
||||||
that._transitionTime(step.time);
|
that._transitionTime(step.time);
|
||||||
that._pos(step.x, step.y);
|
that._pos(step.x, step.y);
|
||||||
that.animating = false;
|
that.animating = false;
|
||||||
@ -636,6 +637,8 @@ iScroll.prototype = {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log('animate move...')
|
||||||
|
|
||||||
animate = function () {
|
animate = function () {
|
||||||
var now = Date.now(),
|
var now = Date.now(),
|
||||||
newX, newY;
|
newX, newY;
|
||||||
|
|||||||
@ -120,20 +120,6 @@ $(document).ready(function(){
|
|||||||
hScrollbar: false,
|
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...
|
// XXX stub...
|
||||||
setTransitionEasing($('.magazine'), 'ease-out')
|
setTransitionEasing($('.magazine'), 'ease-out')
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user