Address PR comments.

This commit is contained in:
Brendan Dahl 2014-04-09 16:40:31 -07:00
parent 8dbdd52c5a
commit 7736f5204b
3 changed files with 7 additions and 3 deletions

View File

@ -62,6 +62,7 @@ $ cd pdfjs
### Prebuilt
```
├── LICENSE
├── build/
│   ├── pdf.js - display layer
│   └── pdf.worker.js - core layer
@ -108,6 +109,6 @@ $ cd pdfjs
With the prebuilt or source version open `web/viewer.html` in a browser and the test pdf should load. Note: the worker is not enabled for file:// urls, so use a server. If you're using the source build and have node, you can run `node make server`.
## Examples
## More Information
For a further walkthrough of a minimal viewer see the [hello world example](/examples/).
For a further walkthrough of a minimal viewer see the [hello world example](/examples/). More documentation can be found in our [wiki](https://github.com/mozilla/pdf.js/wiki) too.

View File

@ -31,6 +31,8 @@ html(lang='en')
a(href=makeRelative(page.url, '/getting_started/')) Getting Started
li(class=(page.url === '/examples/' ? 'active' : ''))
a(href=makeRelative(page.url, '/examples/')) Examples
li
a(href='https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions') FAQ
li(class=(page.url === '/api/' ? 'active' : ''))
a(href=makeRelative(page.url, '/api/')) API

View File

@ -118,6 +118,7 @@ target.generic = function() {
defines: defines,
copy: [
[COMMON_WEB_FILES, GENERIC_DIR + '/web'],
['LICENSE', GENERIC_DIR],
['external/webL10n/l10n.js', GENERIC_DIR + '/web'],
['web/viewer.css', GENERIC_DIR + '/web'],
['web/compatibility.js', GENERIC_DIR + '/web'],
@ -199,7 +200,7 @@ target.dist = function() {
cd(GENERIC_DIR);
var distFilename = 'pdfjs-' + VERSION + '-dist.zip';
exec('zip -r ' + ROOT_DIR + BUILD_DIR + distFilename + ' *');
echo('Built distrobution file: ' + distFilename);
echo('Built distribution file: ' + distFilename);
cd(ROOT_DIR);
};