Skip to content

Commit

Permalink
Update jsDelivr links
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasDrgon committed Sep 7, 2017
1 parent 17baf4b commit fd9491c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fd9491c

Please sign in to comment.