Skip to content

Commit a48097d

Browse files
committed
Fix PDF.js version reference in multiple components and update package.json
1 parent be9d7cc commit a48097d

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

docs/components/APIReferenceDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function toggleSidebar() {
167167
168168
// New document input
169169
const newDocUrl = ref('')
170-
const pdf = 'https://raw.githubusercontent.com/mozilla/pdf.js/vv5.3.93/web/compressed.tracemonkey-pldi-09.pdf'
170+
const pdf = 'https://raw.githubusercontent.com/mozilla/pdf.js/v5.3.93/web/compressed.tracemonkey-pldi-09.pdf'
171171
const source = ref(pdf)
172172
173173
function resetPdfInfo() {

docs/components/CustomizationDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ watchedRefs.forEach(ref => {
141141
watch(ref, updateOptions)
142142
})
143143
144-
const pdf = 'https://raw.githubusercontent.com/mozilla/pdf.js/vv5.3.93/web/compressed.tracemonkey-pldi-09.pdf'
144+
const pdf = 'https://raw.githubusercontent.com/mozilla/pdf.js/v5.3.93/web/compressed.tracemonkey-pldi-09.pdf'
145145
146146
// Setup watchers for theme options
147147
import { watch } from 'vue'

docs/components/EventsDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function rotateClockwise() {
138138
vuepdfjs.value.pdfApp.eventBus.dispatch("rotatecw")
139139
}
140140
141-
const pdf = 'https://raw.githubusercontent.com/mozilla/pdf.js/vv5.3.93/web/compressed.tracemonkey-pldi-09.pdf'
141+
const pdf = 'https://raw.githubusercontent.com/mozilla/pdf.js/v5.3.93/web/compressed.tracemonkey-pldi-09.pdf'
142142
</script>
143143

144144
<template>

docs/components/PdfViewer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const onPdfAppLoaded = () => {
7777
vuepdfjs.value.pdfApp.eventBus.on('documenterror', onErrorHandler)
7878
}
7979
80-
const pdf = 'https://raw.githubusercontent.com/mozilla/pdf.js/vv5.3.93/web/compressed.tracemonkey-pldi-09.pdf'
80+
const pdf = 'https://raw.githubusercontent.com/mozilla/pdf.js/v5.3.93/web/compressed.tracemonkey-pldi-09.pdf'
8181
const source = ref(pdf)
8282
</script>
8383

docs/components/SlotsDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function loadPdf() {
3232
// Add artificial delay to show loading indicator
3333
setTimeout(() => {
3434
// Imposta l'URL del PDF dopo il ritardo
35-
pdf.value = 'https://raw.githubusercontent.com/mozilla/pdf.js/vv5.3.93/web/compressed.tracemonkey-pldi-09.pdf'
35+
pdf.value = 'https://raw.githubusercontent.com/mozilla/pdf.js/v5.3.93/web/compressed.tracemonkey-pldi-09.pdf'
3636
}, loadingDelay.value * 1000)
3737
}
3838

packages/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@fluent/bundle": "^0.18.0",
3737
"@fluent/dom": "^0.10.0",
3838
"ajv": "^8.17.1",
39-
"pdf.js": "git://github.com/mozilla/pdf.js.git#vv5.3.93"
39+
"pdf.js": "git://github.com/mozilla/pdf.js.git#v5.3.93"
4040
},
4141
"peerDependencies": {
4242
"vue": "^3.4.29"

0 commit comments

Comments
 (0)