pdf.js/examples/helloworld
Michał Gołębiowski e625af3fef Remove type="text/javascript" from script tags.
"text/javascript" is not a correct MIME type (the correct one is
"application/javascript") but it's not even needed; all browsers default
to the correct type and treat it as executable JS when type is ommited.
Since not all browsers recognize the "application/javascript" MIME type
the only way to both stay compliant and to support all popular browsers
is to omit the type. It's also shorter this way.
2014-05-13 02:41:01 +02:00
..
hello.js Fixing #3318 2013-06-02 23:51:08 +02:00
helloworld.pdf Moved helloworld/ to examples/helloworld/ 2011-09-16 08:28:42 -07:00
index.html Remove type="text/javascript" from script tags. 2014-05-13 02:41:01 +02:00
README.md Fix lint warnings in hello.js. 2011-09-26 23:28:16 +03:00

"Hello World" overview

This example is a minimalistic application of the pdf.js project. The file helloworld.pdf is from the GNUpdf project (see [Introduction to PDF at GNUpdf] (http://gnupdf.org/Introduction_to_PDF)), and contains a simple and human-readable PDF.

Getting started

Point your browser to index.html. Voila. Take a peek at hello.js to see how to make basic calls to pdf.js.

Additional resources