[Pkg-javascript-commits] [sockjs-client] 235/350: Fix debug string format

tonnerre at ancient-solutions.com tonnerre at ancient-solutions.com
Fri Aug 5 01:04:25 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 e75d2fe3b22fae1b0f22dbed82d20dc94a35d3d9
Author: Bryce Kahle <bkahle at gmail.com>
Date:   Fri Oct 24 14:19:51 2014 -0400

    Fix debug string format
---
 lib/main.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/main.js b/lib/main.js
index cf2335a..02724a6 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -101,7 +101,7 @@ function SockJS(url, protocols, transportsWhitelist) {
 
   // store the sanitized url
   this.url = u.format(parsedUrl);
-  debug('using url %s', this.url);
+  debug('using url', this.url);
 
   // Step 7 - start connection in background
   // obtain server info
@@ -189,7 +189,7 @@ SockJS.prototype._receiveInfo = function(info, rtt) {
 
 SockJS.prototype._connect = function() {
   for (var Transport = this._transports.shift(); Transport; Transport = this._transports.shift()) {
-    debug('attempt %s', Transport.transportName);
+    debug('attempt', Transport.transportName);
     if (Transport.needBody) {
       if (!global.document.body ||
           (typeof global.document.readyState !== 'undefined' &&
@@ -208,7 +208,7 @@ SockJS.prototype._connect = function() {
     debug('using timeout', timeoutMs);
 
     var transportUrl = urlUtils.addPath(this._transUrl, '/' + this._server + '/' + random.string(8));
-    debug('transport url: %s', transportUrl);
+    debug('transport url', transportUrl);
     var transport = new Transport(transportUrl, this._transUrl);
     transport.on('message', this._transportMessage.bind(this));
     transport.once('close', this._transportClose.bind(this));

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