[Pkg-javascript-commits] [sockjs-client] 62/350: Add trans prefix to transports

tonnerre at ancient-solutions.com tonnerre at ancient-solutions.com
Fri Aug 5 01:03:42 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 8cc50c0f7c89c50212873df72e53f63090b30492
Author: Bryce Kahle <bkahle at gmail.com>
Date:   Wed May 28 14:47:29 2014 -0400

    Add trans prefix to transports
---
 lib/sockjs.js                                    | 8 ++++----
 lib/{xdr-polling.js => trans-xdr-polling.js}     | 2 +-
 lib/{xdr-streaming.js => trans-xdr-streaming.js} | 0
 lib/{xhr-polling.js => trans-xhr-polling.js}     | 2 +-
 lib/{xhr-streaming.js => trans-xhr-streaming.js} | 0
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/sockjs.js b/lib/sockjs.js
index e1da745..cede919 100644
--- a/lib/sockjs.js
+++ b/lib/sockjs.js
@@ -348,10 +348,10 @@ SockJS['iframe-eventsource'] = require('./trans-iframe-eventsource');
 SockJS['iframe-htmlfile'] = require('./trans-iframe-htmlfile');
 SockJS['iframe-xhr-polling'] = require('./trans-iframe-xhr-polling');
 SockJS['jsonp-polling'] = require('./trans-jsonp-polling');
-SockJS['xdr-polling'] = require('./xdr-polling');
-SockJS['xdr-streaming'] = require('./xdr-streaming');
-SockJS['xhr-polling'] = require('./xhr-polling');
-SockJS['xhr-streaming'] = require('./xhr-streaming');
+SockJS['xdr-polling'] = require('./trans-xdr-polling');
+SockJS['xdr-streaming'] = require('./trans-xdr-streaming');
+SockJS['xhr-polling'] = require('./trans-xhr-polling');
+SockJS['xhr-streaming'] = require('./trans-xhr-streaming');
 
 module.exports = SockJS;
 
diff --git a/lib/xdr-polling.js b/lib/trans-xdr-polling.js
similarity index 85%
rename from lib/xdr-polling.js
rename to lib/trans-xdr-polling.js
index 8e29867..f44a88b 100644
--- a/lib/xdr-polling.js
+++ b/lib/trans-xdr-polling.js
@@ -8,7 +8,7 @@
  */
 
 var AjaxBasedTransport = require('./ajax-based');
-var XdrStreamingTransport = require('./xdr-streaming');
+var XdrStreamingTransport = require('./trans-xdr-streaming');
 var utils = require('./utils');
 var XhrReceiver = require('./trans-receiver-xhr');
 
diff --git a/lib/xdr-streaming.js b/lib/trans-xdr-streaming.js
similarity index 100%
rename from lib/xdr-streaming.js
rename to lib/trans-xdr-streaming.js
diff --git a/lib/xhr-polling.js b/lib/trans-xhr-polling.js
similarity index 85%
rename from lib/xhr-polling.js
rename to lib/trans-xhr-polling.js
index d9b4d92..63d2ad9 100644
--- a/lib/xhr-polling.js
+++ b/lib/trans-xhr-polling.js
@@ -8,7 +8,7 @@
  */
 
 var AjaxBasedTransport = require('./ajax-based');
-var XhrStreamingTransport = require('./xhr-streaming');
+var XhrStreamingTransport = require('./trans-xhr-streaming');
 var XhrReceiver = require('./trans-receiver-xhr');
 var XHRCorsObject = require('./xhr-cors');
 
diff --git a/lib/xhr-streaming.js b/lib/trans-xhr-streaming.js
similarity index 100%
rename from lib/xhr-streaming.js
rename to lib/trans-xhr-streaming.js

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