commit | 6b90118f42b13d0c83d1b8b4782166555813cfdb | [log] [tgz] |
---|---|---|
author | Jason Campbell <jasoncampbell@google.com> | Fri Jun 26 16:27:57 2015 -0700 |
committer | Jason Campbell <jasoncampbell@google.com> | Fri Jun 26 23:51:58 2015 +0000 |
tree | b6ea8d25f2592a89b94e09d638e7c944de7378a0 | |
parent | 7b08f9eee99f93f90cff5887a816fc969394a833 [diff] |
TBR: Adds initial PDF.js support. Change-Id: Ia00ffe4781919cf8f63bc352a239d642c6976040
An example PDF reader using Vanadium.
If you have a $V23_ROOT
setup you can install Node.js from $V23_ROOT/third_party
by running:
v23 profile setup web
Optionally, it is possible to use your own install of Node.js if you would like to use a more recent version.
The Makefile is setup to handle all dependencies once Node.js is installed. The default make task will install any modules listed in the package.json
and build a browser bundle from browser/index.js
via browserify.
make
It is possible to have the build happen automatically anytime a JavaScript file changes using the watch tool:
watch make
To run a local dev server use:
make start
If you would like to change the host and or port that is used:
make start port=<port> host=<host>