This commit is contained in:
2020-04-17 01:27:23 +00:00
parent 609910498d
commit 7cb087eaca
3 changed files with 36 additions and 21 deletions

View File

@@ -47,6 +47,18 @@ import reportSelectorControl from "./components/report-selector-control.vue";
import reportViewerControl from "./components/report-viewer-control.vue";
import wikiControl from "./components/wiki-control.vue";
//**************************************************************
//**************************************************************
//**************************************************************
//DEVELOPMENT MODE
//THIS SHOULD BE FALSE IN RELEASE
//************************************************************
const DEV_MODE = true;
//************************************************************
//**************************************************************
//**************************************************************
//**************************************************************
/////////////////////////////////////////////////////////////////
// LIBS AND GLOBAL ITEMS
// NOTE: I'm putting them on Window deliberately to be globally available
@@ -82,18 +94,6 @@ window.$gz = {
// ERROR HANDLING
//
//**************************************************************
//**************************************************************
//**************************************************************
//DEVELOPMENT MODE
//THIS SHOULD BE FALSE IN RELEASE
//************************************************************
const DEV_MODE = true;
//************************************************************
//**************************************************************
//**************************************************************
//**************************************************************
Vue.config.errorHandler = errorHandler.handleVueError;
window.onerror = errorHandler.handleGeneralError;
//warnings, only occur by default in debug mode not production