diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-11-05 14:46:09 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-11-05 14:46:09 +0300 |
commit | 5eb7b205b3aed1f1e6fd5bbec41c947df46d4f39 (patch) | |
tree | 89b62bd7485689e6f226677e34c3ca22e7e41804 /src/public.js | |
parent | b6a2f9c87d4b46476f5a343d9bec252886a3d34f (diff) |
Move to @nextcloud packages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/public.js')
-rw-r--r-- | src/public.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/public.js b/src/public.js index c287d13de..fa004f075 100644 --- a/src/public.js +++ b/src/public.js @@ -2,7 +2,7 @@ import { documentReady } from './helpers' import { FilesWorkspacePlugin, registerFileActionFallback, - registerFileCreate + registerFileCreate, } from './helpers/files' import { openMimetypes } from './helpers/mime' @@ -28,7 +28,7 @@ documentReady(() => { if (openMimetypes.indexOf(mimetype) !== -1) { Promise.all([ import(/* webpackChunkName: "vendor" */'vue'), - import(/* webpackChunkName: "editor" */'./components/EditorWrapper') + import(/* webpackChunkName: "editor" */'./components/EditorWrapper'), ]).then((imports) => { const Vue = imports[0].default Vue.prototype.t = window.t @@ -39,9 +39,9 @@ documentReady(() => { props: { active: true, shareToken: sharingToken, - mime: mimetype - } - }) + mime: mimetype, + }, + }), }) vm.$mount(document.getElementById('preview')) }) |