Error when initiating with singlepage-viewer option
Opened this issue · 1 comments
Hi, thank you for this compact and awesome flipbook.
I am running into some trouble when setting up a viewer in singlepage mode. The error message reads: Uncaught TypeError: o is undefined [dist/flipbook-viewer.js:1:16674]
, which would translate to this line in the source code which means pdf
is not defined. Could webpack produce some variable scope issues? I would answer this question myself, if I knew anything about webpack.
Does anybody else run into similar problems with the dist code?
Thanks for any help!
Hi @sebi-alt! I'm sorry I seemed to have missed your message. It may be easier to test by simply downloading the source code from GitHub and running the development/test version (npm run test
). That should help see what's happening.