Disable debugging

This commit is contained in:
Tamius Han 2019-06-03 00:39:33 +02:00
parent 65e41e575d
commit 98703c30d2

View File

@ -1,13 +1,13 @@
// Set prod to true when releasing // Set prod to true when releasing
//_prod = true; const _prod = true;
const _prod = false; // const _prod = false;
var Debug = { var Debug = {
// performanceMetrics: true, // should not be affected by debug.debug in order to allow benchmarking of the impact logging in console has // performanceMetrics: true, // should not be affected by debug.debug in order to allow benchmarking of the impact logging in console has
init: true, // init: true,
debug: true, // debug: true,
// debug: false, // debug: false,
keyboard: true, // keyboard: true,
// debugResizer: true, // debugResizer: true,
// debugArDetect: true, // debugArDetect: true,
// scaler: true, // scaler: true,
@ -25,15 +25,15 @@ var Debug = {
// arDetect: { // arDetect: {
// edgeDetect: true // edgeDetect: true
// }, // },
canvas: { // canvas: {
// debugDetection: true // debugDetection: true
}, // },
debugCanvas: { // debugCanvas: {
// enabled: true, // enabled: true,
// guardLine: true // guardLine: true
enabled: false, // enabled: false,
guardLine: false // guardLine: false
} // }
} }
if(_prod){ if(_prod){