]> git.parisson.com Git - pdf.js.git/commitdiff
Disabling workers until localhost fix lands in FF
authorArtur Adib <arturadib@gmail.com>
Sat, 5 Nov 2011 18:42:50 +0000 (14:42 -0400)
committerArtur Adib <arturadib@gmail.com>
Sat, 5 Nov 2011 18:42:50 +0000 (14:42 -0400)
src/core.js

index ed16e1a420ca97312624041d2587efe366aba1ae..9426f5d4de070ceec92d448b2ec9e9643a371d91 100644 (file)
@@ -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)