- var now = (new Date()).getTime();
- if (now - this.lastMoveTime < 100) {
- // au delà de 100 ms de maintient, on annule l'inertie
- var speed = delta / (now - this.touchStartTime)
- var x0 = parseInt(this.film.style.left, 10);
- var t0 = (new Date()).getTime();
- var d = 500; // milisecondes
- var delta = 0;
- var dt = 25
- var self = this;
+ var now = (new Date()).getTime();
+ if (now - this.lastMoveTime < 100) {
+ // au delà de 100 ms de maintient, on annule l'inertie
+ var speed = delta / (now - this.touchStartTime);
+ var x0 = parseInt(this.film.style.left, 10);
+ var t0 = (new Date()).getTime();
+ var d = 500; // milisecondes
+ delta = 0;
+ var dt = 25;
+ var self = this;