[Pkg-javascript-commits] [sockjs-client] 319/350: Fix iframe info receiver using wrong url

tonnerre at ancient-solutions.com tonnerre at ancient-solutions.com
Fri Aug 5 01:04:34 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 b331d9b5cb1ce6122737a4b1136f0ae83449d282
Author: Bryce Kahle <bkahle at gmail.com>
Date:   Tue Jul 21 21:04:37 2015 -0700

    Fix iframe info receiver using wrong url
---
 lib/info-iframe-receiver.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/info-iframe-receiver.js b/lib/info-iframe-receiver.js
index 678fd75..cf529cf 100644
--- a/lib/info-iframe-receiver.js
+++ b/lib/info-iframe-receiver.js
@@ -7,11 +7,11 @@ var inherits = require('inherits')
   , InfoAjax = require('./info-ajax')
   ;
 
-function InfoReceiverIframe(transUrl, baseUrl) {
+function InfoReceiverIframe(transUrl) {
   var self = this;
   EventEmitter.call(this);
 
-  this.ir = new InfoAjax(baseUrl, XHRLocalObject);
+  this.ir = new InfoAjax(transUrl, XHRLocalObject);
   this.ir.once('finish', function(info, rtt) {
     self.ir = null;
     self.emit('message', JSON3.stringify([info, rtt]));

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