This commit is contained in:
2020-04-04 19:03:19 +00:00
parent 67071b817a
commit 823b1aa7e5
3 changed files with 16 additions and 8 deletions

View File

@@ -1,4 +1,7 @@
/* Xeslint-disable */
//************************************************************
const DEV_MODE = true;
//************************************************************
import "@fortawesome/fontawesome-free/css/all.css";
import "typeface-roboto/index.css";
import Vue from "vue";
@@ -70,7 +73,8 @@ window.$gz = {
report: gzreport,
errorHandler: errorhandler,
store: store,
clientInfo: ayaNovaVersion
clientInfo: ayaNovaVersion,
dev: DEV_MODE
};
/////////////////////////////////////////////////////////////////
@@ -184,7 +188,7 @@ Vue.directive("focus", {
//
Vue.prototype.$ay = {
//development mode, this enables data-cy tags for testing, development level error messages etc
dev: true,
dev: DEV_MODE,
t: function(tKey) {
return translation.get(tKey);
}