brendandahl/pdf.js.utils

API script catch statement

ehsaan-israr opened this issue · 1 comments

i download PDF.js from https://mozilla.github.io/pdf.js/getting_started/#download
i copy two files pdf.js and pdf.worker.js in my project and when i open it gives an error on

if (typeof globalScope.Promise.prototype.catch !== 'function')

if i comment out that block then blow code is going to indicate error

image

Please file an issue at https://github.com/mozilla/pdf.js . This repo is for utilities that I've made.