Skip to content

Commit

Permalink
Add CDN link to documentation template
Browse files Browse the repository at this point in the history
Also updated README to always pull latest from CDN.

PR-URL: #190
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
  • Loading branch information
gregglind authored and trevnorris committed Jun 8, 2016
1 parent e3b46fa commit 47ce806
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -32,8 +32,9 @@ CDN
The library is hosted on [jsDelivr](http://www.jsdelivr.com/) using the follwing
url:
```
//cdn.jsdelivr.net/jstat/<version>/jstat.min.js
//cdn.jsdelivr.net/jstat/latest/jstat.min.js
```
Note that `'latest'` can be replaced with any released verion of jStat.

Module Loaders
--------------
Expand Down
1 change: 1 addition & 0 deletions doc/assets/template.html
Expand Up @@ -19,6 +19,7 @@ <h1>jStat Documentation</h1>
</div>
<script src="assets/sh_main.js"></script>
<script src="assets/sh_javascript.min.js"></script>
<script src="//cdn.jsdelivr.net/jstat/latest/jstat.min.js"></script>
<script>highlight(undefined, undefined, 'pre');</script>
</body>
</html>

0 comments on commit 47ce806

Please sign in to comment.