[Pkg-javascript-commits] [sockjs-client] 139/434: Don't run error in-flow, should be oob.

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:09 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit 04159e3774c655578c8df008f8fc50f1f8b7c0b1
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Wed Sep 7 17:34:59 2011 +0100

    Don't run error in-flow, should be oob.
---
 lib/utils.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/utils.js b/lib/utils.js
index db2f976..babab6d 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -125,7 +125,7 @@ utils.createXDR = function(method, url, payload, callback) {
         xdr.open(method, url);
         xdr.send(payload);
     } catch (x) {
-        onerror();
+        utils.delay(onerror);
     }
     return function (abort_reason) {
         if (callback) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list