1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Refactor the mobile viewer example

This mostly removes B2G-specific code and adds the styles from the B2G
components.
This commit is contained in:
Tim van der Meij 2016-07-27 17:21:47 +02:00
parent a9dd2ab0ab
commit a20f814265
4 changed files with 72 additions and 79 deletions

View file

@ -0,0 +1,11 @@
## Overview
Example to demonstrate PDF.js library usage with a viewer optimized for mobile usage.
## Getting started
Build PDF.js using `gulp dist` and run `gulp server` to start a web server.
You can then work with the mobile viewer at
http://localhost:8888/examples/mobile-viewer/viewer.html.
Refer to `viewer.js` for the source code of the mobile viewer.