ultrawidify/js/conf/Debug.js

30 lines
568 B
JavaScript
Raw Normal View History

2017-12-31 18:26:59 +01:00
// Set prod to true when releasing
_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,
playerDetectDebug: false,
arDetect: {
edgeDetect: true
2018-04-11 19:59:00 +02:00
},
canvas: {
debugDetection: false
}
}
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");