Skip to content

Commit

Permalink
WIP: include worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dasistwas committed Oct 13, 2023
1 parent 2568737 commit 8dfaaa7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions amd/build/pdfembed.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion amd/build/pdfembed.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions amd/src/pdfembed.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
// import 'mod_datalynx/pdf';

import * as pdfjsLib from 'mod_datalynx/pdf';
import pdfjsWorker from 'mod_datalynx/pdf.worker';

import * as pdfjsWorker from 'mod_datalynx/pdf.worker';

function renderPDFfunction(url, canvasContainer) {

Expand Down

0 comments on commit 8dfaaa7

Please sign in to comment.