re-factor / cleanup
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
/* Xeslint-disable */
|
||||
//import "typeface-roboto/index.css";
|
||||
import "fontsource-roboto/latin.css";
|
||||
import "github-markdown-css";
|
||||
import Vue from "vue";
|
||||
@@ -106,20 +104,10 @@ window.$gz = {
|
||||
Vue.config.errorHandler = errorHandler.handleVueError;
|
||||
window.onerror = errorHandler.handleGeneralError;
|
||||
|
||||
// //unhandled rejection handler
|
||||
//shouldn't need this
|
||||
// window.addEventListener("unhandledrejection", function(event) {
|
||||
// // the event object has two special properties:
|
||||
// alert(event.promise); // [object Promise] - the promise that generated the error
|
||||
// alert(event.reason); // Error: Whoops! - the unhandled error object
|
||||
// });
|
||||
|
||||
//warnings, only occur by default in debug mode not production
|
||||
Vue.config.warnHandler = errorHandler.handleVueWarning;
|
||||
|
||||
//added for vuetify 2.x to disable annoying prodution mode tip warning
|
||||
//but commented out for now just to see what it looks like
|
||||
Vue.config.productionTip = false;
|
||||
//Vue.config.productionTip = false;
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
// AJAX LOADER INDICATOR
|
||||
|
||||
Reference in New Issue
Block a user