removed debug mode

This commit is contained in:
Bachir Soussi Chiadmi
2015-03-25 19:52:27 +01:00
parent 9bda2a72a3
commit 767d158bec
+1 -15
View File
@@ -15,7 +15,7 @@ jQuery(document).ready(function($) {
// http://stackoverflow.com/questions/2890898/preventing-mouse-emulation-events-ie-click-from-touch-events-in-mobile-safari
// FastClick.attach(document.body);
var _debug = true,
var _debug = false,
_avgDelay = 1,
_lastDraw = new Date,
_fps,
@@ -300,20 +300,6 @@ jQuery(document).ready(function($) {
},3000);
};
// function moveToChapter(chapter){
// // fake a mousdown by providing first pos as current pos
// _prev_mouse_pos.x = _nav_pos.x;
// _prev_mouse_pos.y = _nav_pos.y;
// // calculate the second pos of faked mousemove
// _nav_pos.x = - (chapter.pos.x - _center.x) - chapter.geom.w/2;
// _nav_pos.y = 100 - chapter.pos.y;
// startMoveNav();
// stopMoveNav();
// };
function onFullScreen(e){
if(_$body.is('fullscreen')){
exitFullscreen();