Permalink
Browse files

Use unpkg for cdn

  • Loading branch information...
1 parent 21a1f3c commit 606895b29a06e2a25e2d4c102a55fb963a421e58 @ankane committed Dec 5, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 test.html
View
@@ -248,7 +248,7 @@ window.Highcharts = require('highcharts');
Include the charting library
```html
-<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.4.0/Chart.bundle.js"></script>
+<script src="https://unpkg.com/chart.js@2.4.0/dist/Chart.bundle.js"></script>
```
And then the Chartkick libraries
View
@@ -7,7 +7,7 @@
<script src="https://fb.me/react-15.0.1.js"></script>
<script src="https://fb.me/react-dom-15.0.1.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.3.0/Chart.bundle.js"></script>
+ <script src="https://unpkg.com/chart.js@2.4.0/dist/Chart.bundle.js"></script>
<script src="https://unpkg.com/chartkick@2.2.1"></script>
<script src="dist/react-chartkick.js"></script>
</head>

0 comments on commit 606895b

Please sign in to comment.