1 | import "core-js/stable"; |
||
2 | import "regenerator-runtime/runtime"; |
||
3 | |||
4 | import Vue from 'vue' |
||
5 | import App from './App' |
||
6 | import router from './router' |
||
7 | import VueMoment from 'vue-moment' |
||
8 | import AsyncComputed from 'vue-async-computed' |
||
9 | import axios from "axios"; |
||
10 | import vuetify from './plugins/vuetify' |
||
11 | |||
12 | |||
13 | // CSP config for webpack dynamic chunk loading |
||
14 | // eslint-disable-next-line |
||
15 | __webpack_nonce__ = btoa(OC.requestToken) |
||
0 ignored issues
–
show
Bug
introduced
by
![]() The variable
OC seems to be never declared. If this is a global, consider adding a /** global: OC */ comment.
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed. To learn more about declaring variables in Javascript, see the MDN. ![]() |
|||
16 | |||
17 | // Correct the root of the app for chunk loading |
||
18 | // OC.linkTo matches the apps folders |
||
19 | // eslint-disable-next-line |
||
20 | __webpack_public_path__ = OC.linkTo('ransomware_detection', 'js/') |
||
0 ignored issues
–
show
|
|||
21 | |||
22 | import "./css/global.scss" |
||
23 | |||
24 | Vue.prototype.t = t |
||
0 ignored issues
–
show
The variable
t seems to be never declared. If this is a global, consider adding a /** global: t */ comment.
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed. To learn more about declaring variables in Javascript, see the MDN. ![]() |
|||
25 | Vue.prototype.n = n |
||
0 ignored issues
–
show
The variable
n seems to be never declared. If this is a global, consider adding a /** global: n */ comment.
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed. To learn more about declaring variables in Javascript, see the MDN. ![]() |
|||
26 | Vue.prototype.OC = OC |
||
27 | Vue.prototype.OCA = OCA |
||
0 ignored issues
–
show
The variable
OCA seems to be never declared. If this is a global, consider adding a /** global: OCA */ comment.
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed. To learn more about declaring variables in Javascript, see the MDN. ![]() |
|||
28 | Vue.prototype.$axios = axios |
||
29 | |||
30 | Vue.use(VueMoment); |
||
31 | Vue.use(AsyncComputed); |
||
32 | |||
33 | Vue.config.devtools = true |
||
34 | |||
35 | /* eslint-disable-next-line no-new */ |
||
36 | new Vue({ |
||
0 ignored issues
–
show
|
|||
37 | el: '#content', |
||
38 | vuetify, |
||
39 | router, |
||
40 | render: h => h(App) |
||
41 | }) |