Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-11-05 14:46:09 +0300
committerJulius Härtl <jus@bitgrid.net>2019-11-05 14:46:09 +0300
commit5eb7b205b3aed1f1e6fd5bbec41c947df46d4f39 (patch)
tree89b62bd7485689e6f226677e34c3ca22e7e41804 /src/public.js
parentb6a2f9c87d4b46476f5a343d9bec252886a3d34f (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.js10
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'))
})