Removed logging
This commit is contained in:
parent
02e77b8aea
commit
cdd5abcdd8
@ -13,8 +13,6 @@ swipe = {
|
||||
|
||||
start: function(obj, tolerance) {
|
||||
|
||||
console.log('start with ' + obj);
|
||||
|
||||
if (obj) swipe.obj = obj;
|
||||
if (tolerance) swipe.tolerance = tolerance;
|
||||
|
||||
@ -24,8 +22,6 @@ swipe = {
|
||||
|
||||
move: function(e) {
|
||||
|
||||
console.log(e);
|
||||
|
||||
if (swipe.obj===null) return false;
|
||||
|
||||
swipe.offset = -1 * e.x;
|
||||
@ -45,7 +41,6 @@ swipe = {
|
||||
if (e.x<=-swipe.tolerance) left(true);
|
||||
else if (e.x>=swipe.tolerance) right(true);
|
||||
else if (swipe.obj!==null) {
|
||||
console.log('reset');
|
||||
swipe.obj.css({
|
||||
WebkitTransform: 'translateX(0px)',
|
||||
MozTransform: 'translateX(0px)',
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user