ultrawidify/js/conf/Debug.js

27 lines
525 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
}
}
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");