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
|
|
|
|
2017-09-24 01:54:46 +02:00
|
|
|
Debug = {
|
|
|
|
debug: true,
|
2017-12-30 12:55:58 +01:00
|
|
|
keyboard: true,
|
2017-12-29 23:34:40 +01:00
|
|
|
debugResizer: true,
|
2018-03-14 21:19:15 +01:00
|
|
|
debugArDetect: true,
|
2017-12-30 12:55:58 +01:00
|
|
|
debugStorage: true,
|
2018-04-26 00:40:09 +02:00
|
|
|
// showArDetectCanvas: true,
|
2018-02-16 00:19:08 +01:00
|
|
|
flushStoredSettings: false,
|
2018-04-22 17:10:36 +02:00
|
|
|
playerDetectDebug: true,
|
2018-02-16 00:19:08 +01:00
|
|
|
arDetect: {
|
|
|
|
edgeDetect: true
|
2018-04-11 19:59:00 +02:00
|
|
|
},
|
|
|
|
canvas: {
|
2018-04-22 17:10:36 +02:00
|
|
|
debugDetection: true
|
2018-04-26 00:40:09 +02:00
|
|
|
},
|
|
|
|
debugCanvas: {
|
|
|
|
enabled: true,
|
|
|
|
guardLine: true
|
2018-02-16 00:19:08 +01:00
|
|
|
}
|
2017-09-24 01:54:46 +02:00
|
|
|
}
|
|
|
|
|
2017-12-31 18:26:59 +01:00
|
|
|
if(_prod){
|
|
|
|
for(var key in Debug){
|
|
|
|
Debug[key] = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-24 01:54:46 +02:00
|
|
|
if(Debug.debug)
|
|
|
|
console.log("Guess we're debugging ultrawidify then. Debug.js must always load first, and others must follow.\nLoading: Debug.js");
|