Permalink
Browse files

Update jsDelivr links

  • Loading branch information...
LukasDrgon committed Sep 7, 2017
1 parent 17baf4b commit fd9491cd7284a062ce47e98ef97b7d7e1360074e
Showing with 2 additions and 1 deletion.
  1. +1 −1 README.md
  2. +1 −0 package.json
View
@@ -83,7 +83,7 @@ First, you need to load the SockJS JavaScript library. For example, you can
put that in your HTML head:
```html
<script src="https://cdn.jsdelivr.net/sockjs/1/sockjs.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sockjs-client@1/dist/sockjs.min.js"></script>
```
After the script is loaded you can establish a connection with the
View
@@ -3,6 +3,7 @@
"description": "SockJS-client is a browser JavaScript library that provides a WebSocket-like object.",
"version": "1.1.4",
"author": "Bryce Kahle",
"jsdelivr": "dist/sockjs.min.js",
"browser": {
"./lib/transport/driver/websocket.js": "./lib/transport/browser/websocket.js",
"eventsource": "./lib/transport/browser/eventsource.js",

0 comments on commit fd9491c

Please sign in to comment.