Error with undefined functions in CoreWorker.js

19 views
Skip to first unread message

Ryan - PDFNet Developer

unread,
Dec 16, 2016, 1:53:38 PM12/16/16
to PDFTron WebViewer
Question:
Our proxy server does javascript filtering, and we are getting errors in CoreWorker.js for undefined functions.

Answer:
To add custom functions for the workers to use, you can add an importScripts() definition to the beginning of CoreWorker.js.

Reply all
Reply to author
Forward
0 new messages