diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-09-25 18:19:42 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-10-01 17:16:09 +0200 |
commit | b9bc2417e7a8dc81feb0abe20359bedaf864f790 (patch) | |
tree | 61b47fbf37c1d168da8625224debde9e6a985348 /apps/oauth2/src/main.js | |
parent | 7fb651235128dcbca8a6683b5cdafdf835f46300 (diff) | |
download | nextcloud-server-b9bc2417e7a8dc81feb0abe20359bedaf864f790.tar.gz nextcloud-server-b9bc2417e7a8dc81feb0abe20359bedaf864f790.zip |
Comply to eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/oauth2/src/main.js')
-rw-r--r-- | apps/oauth2/src/main.js | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/apps/oauth2/src/main.js b/apps/oauth2/src/main.js index c5714497f3d..45b9d642767 100644 --- a/apps/oauth2/src/main.js +++ b/apps/oauth2/src/main.js @@ -20,18 +20,19 @@ * */ -import Vue from 'vue'; -import App from './App.vue'; +import Vue from 'vue' +import App from './App.vue' import { loadState } from 'nextcloud-initial-state' -Vue.prototype.t = t; -Vue.prototype.OC = OC; +Vue.prototype.t = t +Vue.prototype.OC = OC -const clients = loadState('oauth2', 'clients'); +const clients = loadState('oauth2', 'clients') const View = Vue.extend(App) -new View({ +const oauth = new View({ propsData: { clients } -}).$mount('#oauth2'); +}) +oauth.$mount('#oauth2') |