diff --git a/README.markdown b/README.markdown index 24044a36c..55e9e57bf 100644 --- a/README.markdown +++ b/README.markdown @@ -36,7 +36,7 @@ If you're using PusherJS on a web page, you can install the library via: #### CDN ```html - + ``` #### Bower @@ -83,7 +83,7 @@ Notes: You can import the worker script (`pusher.worker.js`, not `pusher.js`) from the CDN: ```javascript -importScripts("https://js.pusher.com/3.1/pusher.worker.min.js"); +importScripts("https://js.pusher.com/3.2/pusher.worker.min.js"); ``` ### NodeJS @@ -412,17 +412,17 @@ First, clone this repository and run `npm install && git submodule init && git s In the `dist/web` folder, you should see the files you need: `pusher.js`, `pusher.min.js`, `json2.js`, `json.min.js`, `sockjs.js` and `sockjs.min.js`. `pusher.js` should be built referencing your URLs as the dependency hosts. -First, make sure you expose all files from the `dist` directory. They need to be in a directory with named after the version number. For example, if you're hosting version 3.1.0 under `http://example.com/pusher-js` (and https for SSL), files should be accessible under following URL's: +First, make sure you expose all files from the `dist` directory. They need to be in a directory with named after the version number. For example, if you're hosting version 3.2.0 under `http://example.com/pusher-js` (and https for SSL), files should be accessible under following URL's: - http://example.com/pusher-js/3.1.0/pusher.js - http://example.com/pusher-js/3.1.0/json2.js - http://example.com/pusher-js/3.1.0/sockjs.js + http://example.com/pusher-js/3.2.0/pusher.js + http://example.com/pusher-js/3.2.0/json2.js + http://example.com/pusher-js/3.2.0/sockjs.js Minified files should have `.min` in their names, as in the `dist/web` directory: - http://example.com/pusher-js/2.1.3/pusher.min.js - http://example.com/pusher-js/2.1.3/json2.min.js - http://example.com/pusher-js/2.1.3/sockjs.min.js + http://example.com/pusher-js/3.2.0/pusher.min.js + http://example.com/pusher-js/3.2.0/json2.min.js + http://example.com/pusher-js/3.2.0/sockjs.min.js ## SockJS compatibility