Skip to content

Commit

Permalink
Update more jsDelivr links
Browse files Browse the repository at this point in the history
  • Loading branch information
humancopy committed Sep 27, 2017
1 parent 24afae8 commit 538e459
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ You can also disable the automatic activation of the banner by adding the attrib
The ```peaceJS()``` function accepts an optional argument of either a hash of options, DOM element, DOM selector or jQuery object. Any option passed to ```peaceJS()``` has precedence over what was defined on the ```<script>``` tag.

```html
<script src="https://cdn.jsdelivr.net/peace.js/1.1.4/peace.min.js" data-auto="false" data-theme="green" async></script>
<script src="https://cdn.jsdelivr.net/gh/humancopy/peace.js@1.1.4/dist/peace.min.js" data-auto="false" data-theme="green" async></script>

<script>
// Default behaviour
Expand Down
2 changes: 1 addition & 1 deletion dist/peace.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/peace.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/peace.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var peaceJS;
if (target_element) {
// Load the CSS
link = document.createElement('link');
link.href = 'https://cdn.jsdelivr.net/peace.js/1.1.4/peace.min.css';
link.href = 'https://cdn.jsdelivr.net/gh/humancopy/peace.js@1.1.4/dist/peace.min.css';
link.type = 'text/css';
link.rel = 'stylesheet';
link.media = 'screen,print';
Expand Down

0 comments on commit 538e459

Please sign in to comment.