On 2/6/13 3:20 PM,
harmo...@gmail.com wrote:
> SyntaxError: Unexpected identifier
>
> Looking at the errors that show up for viewer.js they are as follows:
>
> watchScroll: function pdfViewWatchScroll(viewAreaElement, state, callback) {
> state.down = true;
> state.lastY = viewAreaElement.scrollTop;
> � Uncaught Type Error: Cannot read property 'scrollTop' of null �
>
> PDFView.animationStartedPromise = new PDFJS.Promise();
> � Uncaught Reference Error: PDFJS is not defined �
>
> Thanks again for all your assistance thus far!
Do you have the PDF.JS file included and do you reuse the html from the
viewer.html? Just including the viewer.js on your site is not enough.
Best,
Julian