From dd22f449538a2a56c09e91e390874ac6da2e4847 Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Wed, 1 Aug 2012 11:52:14 -0700 Subject: [PATCH] Update the readme to reflect build changes. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3b8d86bb1..34b1a3f5e 100644 --- a/README.md +++ b/README.md @@ -61,13 +61,13 @@ You can also view all the test pdf files on the right side serving + http://localhost:8888/test/pdfs/?frame -### Building pdf.js +### Building pdf.js. -In order to bundle all `src/` files into a final `pdf.js`, issue: +In order to bundle all `src/` files into a final `pdf.js` and build the generic viewer, issue: - $ node make bundle + $ node make generic -This will generate the file `build/pdf.js` that can be included in your final project. (WARNING: That's a large file! Consider minifying it). +This will generate the file `build/generic/build/pdf.js` that can be included in your final project. The pdf.js file is large and should be minified for production. Also, if you would like to support more browsers than firefox you'll also need to include `compatibility.js` from `build/generic/web/`. # Learning