[Pkg-javascript-commits] [pdf.js] 53/174: [CRX] Call callback instead of onCompleted
David Prévot
taffit at moszumanska.debian.org
Thu Nov 19 18:45:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 7e345b223c615916382187b3761872d9181e71a0
Author: Rob Wu <rob at robwu.nl>
Date: Sun Oct 11 17:35:16 2015 +0200
[CRX] Call callback instead of onCompleted
---
web/chromecom.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/chromecom.js b/web/chromecom.js
index 23d59e5..6823dd3 100644
--- a/web/chromecom.js
+++ b/web/chromecom.js
@@ -275,7 +275,7 @@ var ChromeCom = (function ChromeComClosure() {
function onDisconnect() {
// When the connection fails, ignore the error and call the callback.
port = null;
- onCompleted();
+ callback();
}
function onCompleted() {
port.onDisconnect.removeListener(onDisconnect);
--
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