[Pkg-javascript-commits] [sockjs-client] 16/22: Fixed duplicate variable.

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


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

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

commit 6167ac87ba62def0240941f561d0805662f081f7
Author: Carl Byström <cgbystrom at gmail.com>
Date:   Fri Aug 23 13:39:59 2013 +0200

    Fixed duplicate variable.
    
    Google Closure compiler refused to process the file since 'x' was already defined above. Renamed to 'e' instead.
---
 lib/dom2.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/dom2.js b/lib/dom2.js
index 56dd0ec..2183d30 100644
--- a/lib/dom2.js
+++ b/lib/dom2.js
@@ -59,7 +59,7 @@ AbstractXHRObject.prototype._start = function(method, url, payload, opts) {
                 try {
                     var status = x.status;
                     var text = x.responseText;
-                } catch (x) {};
+                } catch (e) {};
                 // IE returns 1223 for 204: http://bugs.jquery.com/ticket/1450
                 if (status === 1223) status = 204;
 

-- 
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