From 413d45d66afed8da12062042bd05689be8e2d947 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Wed, 6 Apr 2016 17:40:38 +0200 Subject: [PATCH] Minor fixes --- Setup-PDF.js-in-a-website.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Setup-PDF.js-in-a-website.md b/Setup-PDF.js-in-a-website.md index e2bad6a..8d70d15 100644 --- a/Setup-PDF.js-in-a-website.md +++ b/Setup-PDF.js-in-a-website.md @@ -36,7 +36,7 @@ Add the dependencies to your project: npm install pdfjs-dist --save-dev -To use the library in your project add `require('pdfjs-dist')` to your file requires and build your project normally. The worker shall be built into separate bundle: "pdf.worker.js" taken as is or built as separate file that uses `require('pdfjs-dist/build/pdf.worker')`. The PDFJS.workerSrc shall be set to point to this file. +To use the library in your project add `require('pdfjs-dist')` to your file requires and build your project normally. The worker shall be built into a separate bundle named "pdf.worker.js" taken as is or built as a separate file that uses `require('pdfjs-dist/build/pdf.worker')`. `PDFJS.workerSrc` shall be set to point to this file. Refer to https://github.com/mozilla/pdf.js/tree/master/examples/browserify for a complete example.