ultrawidify/js/conf/Debug.js

30 lines
566 B
JavaScript
Raw Normal View History

2017-12-31 18:26:59 +01:00
// Set prod to true when releasing
2018-04-22 17:10:36 +02:00
// _prod = true;
_prod = false;
2017-12-31 18:26:59 +01:00
Debug = {
debug: true,
keyboard: true,
debugResizer: true,
debugArDetect: true,
debugStorage: true,
showArDetectCanvas: true,
flushStoredSettings: false,
2018-04-22 17:10:36 +02:00
playerDetectDebug: true,
arDetect: {
edgeDetect: true
2018-04-11 19:59:00 +02:00
},
canvas: {
2018-04-22 17:10:36 +02:00
debugDetection: true
}
}
2017-12-31 18:26:59 +01:00
if(_prod){
for(var key in Debug){
Debug[key] = false;
}
}
if(Debug.debug)
console.log("Guess we're debugging ultrawidify then. Debug.js must always load first, and others must follow.\nLoading: Debug.js");