mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Initial browserify example.
This commit is contained in:
parent
2dd03e1785
commit
d7d7935648
8 changed files with 131 additions and 0 deletions
7
examples/browserify/worker.js
Normal file
7
examples/browserify/worker.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
// Any copyright is dedicated to the Public Domain.
|
||||
// http://creativecommons.org/licenses/publicdomain/
|
||||
|
||||
// Hello world example for browserify: worker bundle.
|
||||
|
||||
(typeof window !== 'undefined' ? window : {}).pdfjsDistBuildPdfWorker =
|
||||
require('pdfjs-dist/build/pdf.worker');
|
Loading…
Add table
Add a link
Reference in a new issue