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:
Diffstat (limited to 'index.html')
-rw-r--r--index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.html b/index.html
index be6aea332..88da39dfb 100644
--- a/index.html
+++ b/index.html
@@ -13,7 +13,7 @@
OC = { webroot: '/OC_WEBROOT' }
</script>
<script type="module">
- import { RichTextReader, ImageResolver, IMAGE_RESOLVER } from './src/package.js'
+ import { RichTextReader, AttachmentResolver, ATTACHMENT_RESOLVER } from './src/package.js'
import Vue from 'vue'
import content from './src/tests/fixtures/basic.md?raw'
const app = new Vue({
@@ -25,7 +25,7 @@
provide() {
const val = {}
Object.defineProperties(val, {
- [IMAGE_RESOLVER]: { get: () => this.$imageResolver },
+ [ATTACHMENT_RESOLVER]: { get: () => this.$attachmentResolver },
})
return val
},
@@ -47,7 +47,7 @@
}),
]),
created() {
- this.$imageResolver = new ImageResolver({
+ this.$attachmentResolver = new AttachmentResolver({
currentDirectory: '/dir/',
shareToken: 'SHARE_TOKEN',
user: { uid: 'USER_UID' },