[Pkg-javascript-commits] [sockjs-client] 385/434: Suggest using SockJS 0.3 not 0.2
Tonnerre Lombard
tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:27 UTC 2014
This is an automated email from the git hooks/post-receive script.
tonnerre-guest pushed a commit to branch master
in repository sockjs-client.
commit d3e704a7b96b0c4fba6d80126d598c649a0da34b
Author: Marek Majkowski <majek04 at gmail.com>
Date: Sat Apr 14 17:39:29 2012 +0200
Suggest using SockJS 0.3 not 0.2
---
README.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 22a8863..3b42eb3 100644
--- a/README.md
+++ b/README.md
@@ -85,7 +85,7 @@ but instead of `WebSocket` there is a `SockJS` Javascript object.
First, you need to load SockJS JavaScript library, for example you can
put that in your http head:
- <script src="http://cdn.sockjs.org/sockjs-0.2.min.js">
+ <script src="http://cdn.sockjs.org/sockjs-0.3.min.js">
</script>
After the script is loaded you can establish a connection with the
@@ -229,7 +229,7 @@ Connecting to SockJS without the client
Although the main point of SockJS it to enable browser-to-server
connectivity, it is possible to connect to SockJS from an external
-application. Any SockJS server complying with 0.2 protocol does
+application. Any SockJS server complying with 0.3 protocol does
support a raw WebSocket url. The raw WebSocket url for the test server
looks like:
@@ -248,14 +248,14 @@ In order to utilize best performance you should use the SockJS-client
releases hosted on SockJS CDN. You should use a version of sockjs-client
that supports the protocol used by your server. For example:
- <script src="http://cdn.sockjs.org/sockjs-0.2.min.js">
+ <script src="http://cdn.sockjs.org/sockjs-0.3.min.js">
</script>
A list of files hosted on a CDN is available here: http://sockjs.github.com/sockjs-client/ .
You can also use or CDN via https (using Cloud Front domain name):
- <script src="https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.2.js">
+ <script src="https://d1fxtkz8shb9d2.cloudfront.net/sockjs-0.3.js">
</script>
For server-side deployment tricks, especially about load balancing and
@@ -322,7 +322,7 @@ server. Edit the [`config.js`](https://github.com/sockjs/sockjs-node/blob/master
And replace `sockjs_url` setting which by default points to CDN:
- sockjs_url: 'http://cdn.sockjs.org/sockjs-0.2.min.js',
+ sockjs_url: 'http://cdn.sockjs.org/sockjs-0.3.min.js',
to a freshly compiled sockjs, for example:
--
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