[Pkg-javascript-commits] [pdf.js] 64/210: Fixes disableWorker regression
David Prévot
taffit at moszumanska.debian.org
Thu Jun 5 14:21:02 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch upstream
in repository pdf.js.
commit e45f4767dd7badfd45d76bc82b275dcb77158a56
Author: Yury Delendik <ydelendik at mozilla.com>
Date: Fri May 2 12:23:46 2014 -0500
Fixes disableWorker regression
---
src/worker_loader.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/worker_loader.js b/src/worker_loader.js
index f48e263..9cbda7e 100644
--- a/src/worker_loader.js
+++ b/src/worker_loader.js
@@ -58,7 +58,7 @@ var otherFiles = [
function loadInOrder(index, path, files) {
if (index >= files.length) {
- PDFJS.fakeWorkerFilesLoadedPromise.resolve();
+ PDFJS.fakeWorkerFilesLoadedCapability.resolve();
return;
}
PDFJS.Util.loadScript(path + files[index],
@@ -66,7 +66,7 @@ function loadInOrder(index, path, files) {
}
// Load all the files.
-if (typeof PDFJS === 'undefined' || !PDFJS.fakeWorkerFilesLoadedPromise) {
+if (typeof PDFJS === 'undefined' || !PDFJS.fakeWorkerFilesLoadedCapability) {
var files = sharedFiles.concat(otherFiles);
for (var i = 0; i < files.length; i++) {
importScripts(files[i]);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list