Expose a PDFListView object for creating a view
Make pdfListView loadable as a CommonJS module, AMD module, or directly
Replace console.log with configurable logger
Allow a new PDF to be loaded into the existing viewer
Provide methods for changing the scale of the ListView
Add text highlighting from the implementation in PDF.js's viewer.js
Make caching of scroll position more robust

Previously, the scroll position was only updated on a scroll event, but
this fails to update properly if the element goes from being hidden to
visible, or if the window is resized. The scroll position is now cached
before its use in finding which pages are visible. The purpose remains
the same since the DOM only needs to be accessed once rather than for
each page.
Use a new canvas if restarting the render

There are problems with the page appearing upside down if a new render
starts while an existing one is goingi on. This can be solved by using a
different canvas for the two renders. See
https://github.com/mozilla/pdf.js/issues/2923
Return a promise when loading the pdf
Add a getScale method to return the current scale
Don't show text layer even when highlighted
Call progress callback in top level promise
Separate out TextLayerBuilder and Logger, and create a basic build system
Rename ListView::loadDocument to ListView::setDocument
Fail gracefully if PDF.js is not present
Use /src files in demo
Be careful with scope of 'self'
Inject essential CSS into the DOM directly
Merge pull request #1 from jpallen/master

Add in modular loading, changing scale, reloading pdfs and text selection.