|
|
@ -86,6 +86,13 @@ be loaded by `pdf.js`. If you want to support more browsers than Firefox you'll |
|
|
|
to include `compatibility.js` from `build/generic/web/`. The PDF.js files are large and |
|
|
|
to include `compatibility.js` from `build/generic/web/`. The PDF.js files are large and |
|
|
|
should be minified for production. |
|
|
|
should be minified for production. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Using PDF.js in a web application |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To use PDF.js in a web application you can choose to use a pre-built version of the library |
|
|
|
|
|
|
|
or to build it from source. We supply pre-built versions for usage with NPM and Bower under |
|
|
|
|
|
|
|
the `pdfjs-dist` name. For more information and examples please refer to the |
|
|
|
|
|
|
|
[wiki page](https://github.com/mozilla/pdf.js/wiki/Setup-pdf.js-in-a-website) on this subject. |
|
|
|
|
|
|
|
|
|
|
|
## Learning |
|
|
|
## Learning |
|
|
|
|
|
|
|
|
|
|
|
You can play with the PDF.js API directly from your browser through the live |
|
|
|
You can play with the PDF.js API directly from your browser through the live |
|
|
|