1
0
Fork 0
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:
Yury Delendik 2016-04-04 11:32:01 -05:00
parent 2dd03e1785
commit d7d7935648
8 changed files with 131 additions and 0 deletions

View 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');