[Pkg-javascript-commits] [sockjs-client] 96/350: Fix transport name access

tonnerre at ancient-solutions.com tonnerre at ancient-solutions.com
Fri Aug 5 01:03:46 UTC 2016


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 a0f7f8e9082954ecc31a97e62554635b830213cf
Author: Bryce Kahle <bkahle at gmail.com>
Date:   Thu Oct 9 00:27:37 2014 -0400

    Fix transport name access
---
 lib/iframe-bootstrap.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/iframe-bootstrap.js b/lib/iframe-bootstrap.js
index 2966898..8046579 100644
--- a/lib/iframe-bootstrap.js
+++ b/lib/iframe-bootstrap.js
@@ -9,7 +9,7 @@ var utils = require('./utils')
 module.exports = function (SockJS, facadeTransports) {
   var transportMap = {};
   for (var i = 0; i < facadeTransports.length; i++) {
-    transportMap[facadeTransports[i].name] = facadeTransports[i];
+    transportMap[facadeTransports[i].transportName] = facadeTransports[i];
   }
   // hard-coded for the info iframe
   // TODO see if we can make this more dynamic

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