Skip to content

Commit

Permalink
Fix CDN links (#3454)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasDrgon authored and themadcreator committed Mar 30, 2018
1 parent 1e2aeae commit c6b46fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Plottable is used and developed at [Palantir Technologies](http://palantir.com/)
- Get Plottable:
- npm: `npm install --save plottable`
- yarn: `yarn add plottable`
- [unpkg](https://unpkg.com/plottable/plottable.min.js)
- [jsdelivr](https://cdn.jsdelivr.net/npm/plottable@3/plottable.min.js)
- [Check out examples](http://plottablejs.org/examples/)
- [Read the tutorials](http://plottablejs.org/tutorials/)
- [Visit the website, plottablejs.org](http://plottablejs.org/)
Expand Down
2 changes: 1 addition & 1 deletion quicktests/overlaying/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<option value="realistic">Realistic</option>
</select>

<input type="text" id="branch1" name="branch1" value="//unpkg.com/plottable@next/plottable.js" placeholder="1st url (default plottable@next)">
<input type="text" id="branch1" name="branch1" value="//cdn.jsdelivr.net/npm/plottable@next/plottable.min.js" placeholder="1st url (default plottable@next)">
<input type="text" id="branch2" name="branch2" value="../../plottable.js" placeholder="2nd branch (default local)">
<input id="render" type="submit" class="button" value="Compare!">
<input id="expand" type="button" class="button" value="+" onclick="showSizeControls()">
Expand Down
8 changes: 4 additions & 4 deletions webpackConfig/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE)`;
*
* User adds two script tags to their html page:
*
* <script src="//cdnjs.cloudflare.com/ajax/libs/d3/4.5.0/d3.js"></script>
* <script src="//unpkg.com/plottable/plottable.js"></script>
* <script src="https://cdn.jsdelivr.net/npm/d3@4.5.0/build/d3.min.js"></script>
* <script src="https://cdn.jsdelivr.net/npm/plottable/plottable.min.js"></script>
*
* And then references Plottable globally.
*
Expand All @@ -28,8 +28,8 @@ Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE)`;
*
* require.config( {
* paths: {
* d3: "https://cdnjs.cloudflare.com/ajax/libs/d3/4.5.0/d3.min",
* plottable: "//unpkg.com/plottable/plottable.js"
* d3: "https://cdn.jsdelivr.net/npm/d3@4.5.0/build/d3.min.js",
* plottable: "//cdn.jsdelivr.net/npm/plottable/plottable.min.js"
* },
* shim: {
* "plottable": {
Expand Down

1 comment on commit c6b46fd

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix CDN links (#3454)

Demo: quicktests | fiddle

Please sign in to comment.