From: Artur Adib Date: Sat, 5 Nov 2011 18:42:50 +0000 (-0400) Subject: Disabling workers until localhost fix lands in FF X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=feb621380da9cdc6971f763989bb17378c8ded19;p=pdf.js.git Disabling workers until localhost fix lands in FF --- diff --git a/src/core.js b/src/core.js index ed16e1a..9426f5d 100644 --- a/src/core.js +++ b/src/core.js @@ -15,6 +15,10 @@ if (!globalScope.PDFJS) { globalScope.PDFJS = {}; } +// Temporarily disabling workers until 'localhost' FF bugfix lands: +// https://bugzilla.mozilla.org/show_bug.cgi?id=683280 +globalScope.PDFJS.disableWorker = true; + // getPdf() // Convenience function to perform binary Ajax GET // Usage: getPdf('http://...', callback)