Skip to content

Commit 129ff09

Browse files
committed
Remove not used method
Signed-off-by: Vitor Mattos <vitor@php.rio>
1 parent c58cd81 commit 129ff09

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/VuePdfEditor.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -489,11 +489,6 @@ export default {
489489
this.pagesScale = []
490490
this.allObjects = []
491491
},
492-
async getPdfDocument(file) {
493-
const blob = new Blob([file])
494-
const url = window.URL.createObjectURL(blob)
495-
return pdfjsLib.getDocument(url).promise
496-
},
497492
async addPDF(file) {
498493
try {
499494
this.resetDefaultState()

0 commit comments

Comments
 (0)