Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtesaak committed Jul 10, 2018
1 parent c8bb73b commit b90faf3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,7 @@ var wheel = function(i) {
};

var touch = function(i) {
console.log("---", env);
if (!env.supportsTouch && !env.supportsIePointer) {
return;
}
Expand Down Expand Up @@ -1075,7 +1076,6 @@ var touch = function(i) {
}, 10);
}
}
console.log("---", env);
if (env.supportsTouch) {
i.event.bind(element, 'touchstart', touchStart);
i.event.bind(element, 'touchmove', touchMove);
Expand Down
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,7 @@ var wheel = function(i) {
};

var touch = function(i) {
console.log("---", env);
if (!env.supportsTouch && !env.supportsIePointer) {
return;
}
Expand Down Expand Up @@ -1073,7 +1074,6 @@ var touch = function(i) {
}, 10);
}
}
console.log("---", env);
if (env.supportsTouch) {
i.event.bind(element, 'touchstart', touchStart);
i.event.bind(element, 'touchmove', touchMove);
Expand Down
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,7 @@ var wheel = function(i) {
};

var touch = function(i) {
console.log("---", env);
if (!env.supportsTouch && !env.supportsIePointer) {
return;
}
Expand Down Expand Up @@ -1079,7 +1080,6 @@ var touch = function(i) {
}, 10);
}
}
console.log("---", env);
if (env.supportsTouch) {
i.event.bind(element, 'touchstart', touchStart);
i.event.bind(element, 'touchmove', touchMove);
Expand Down
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/handlers/touch.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import * as CSS from '../lib/css';
import { env } from '../lib/util';

export default function(i) {
console.log(`---`, env)
if (!env.supportsTouch && !env.supportsIePointer) {
return;
}
Expand Down Expand Up @@ -201,7 +202,6 @@ export default function(i) {
}, 10);
}
}
console.log(`---`, env)
if (env.supportsTouch) {
i.event.bind(element, 'touchstart', touchStart);
i.event.bind(element, 'touchmove', touchMove);
Expand Down

0 comments on commit b90faf3

Please sign in to comment.