aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarissa McKelvey <karissa@users.noreply.github.com>2017-04-03 16:24:25 -0700
committerGitHub <noreply@github.com>2017-04-03 16:24:25 -0700
commit9038e8a6864c170d2b86b6bb553e572d5f02840f (patch)
tree6ad1731154dbef9f643925b86c36eb663d8c9c36
parentd7fc89730443d97500584c5d009ee000e125615c (diff)
downloaddat-docs-9038e8a6864c170d2b86b6bb553e572d5f02840f.tar.gz
dat-docs-9038e8a6864c170d2b86b6bb553e572d5f02840f.zip
add jsdelivr
-rw-r--r--docs/cookbook/browser.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/cookbook/browser.md b/docs/cookbook/browser.md
index ab82dbf..b2dedb2 100644
--- a/docs/cookbook/browser.md
+++ b/docs/cookbook/browser.md
@@ -10,10 +10,17 @@ OK, now for the goods.
## Install
-Embed the following script [dat.min.js](https://raw.githubusercontent.com/datproject/dat-js/master/dat.min.js) on the page:
+Embed the following script [dat.min.js](https://cdn.jsdelivr.net/dat/6.2.0/dat.min.js) on the page:
```
<script type="text/javascript" src="dat.min.js"></script>
```
+
+You can also use the jsdelivr CDN for faster load speeds:
+
+```
+<script type="text/javascript" src="https://cdn.jsdelivr.net/dat/6.2.0/dat.min.js"></script>
+```
+
This provides a `Dat` prototype on the `window` object.
### Browserify