1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 01:58:06 +02:00

Fixed worker_loader for examples/; simplified

This commit is contained in:
Artur Adib 2011-12-22 09:40:00 -05:00
parent ee96acfebe
commit b2791c60a6
3 changed files with 25 additions and 56 deletions

View file

@ -582,9 +582,6 @@ var PDFDoc = (function PDFDocClosure() {
var messageHandler = new MessageHandler('main', worker);
// Tell the worker the file it was created from.
messageHandler.send('workerSrc', workerSrc);
messageHandler.on('test', function pdfDocTest(supportTypedArray) {
if (supportTypedArray) {
this.worker = worker;