Skip to content

Commit be90d04

Browse files
committed
Updated docs
1 parent 255d11d commit be90d04

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ An automatic web page progress bar.
77
### [Demo](https://codebyzach.github.io/pace/)
88
### [Documentation](https://codebyzach.github.io/pace/docs/)
99

10-
Include [pace.js](https://raw.github.com/CodeByZach/pace/master/pace.min.js) and the
10+
Include [pace.js](https://cdn.jsdelivr.net/npm/pace-js@latest/pace.min.js) and the
1111
[theme](https://codebyzach.github.io/pace/) css of your choice on your page
1212
(as early as is possible), and you're done!
1313

@@ -22,8 +22,8 @@ Example
2222

2323
```html
2424
<head>
25-
<script src="https://cdnjs.cloudflare.com/ajax/libs/pace/1.2.3/pace.min.js"></script>
26-
<link href="https://cdnjs.cloudflare.com/ajax/libs/pace/1.2.3/pace-theme-default.min.css" rel="stylesheet" />
25+
<script src="https://cdn.jsdelivr.net/npm/pace-js@latest/pace.min.js"></script>
26+
<link href="https://cdn.jsdelivr.net/npm/pace-js@latest/pace-theme-default.min.css">
2727
</head>
2828
```
2929

@@ -50,7 +50,7 @@ paceOptions = {
5050
You can also put options on the script tag:
5151

5252
```html
53-
<script data-pace-options='{ "ajax": false }' src='pace.js'></script>
53+
<script data-pace-options='{ "ajax": false }' src="https://cdn.jsdelivr.net/npm/pace-js@latest/pace.min.js"></script>
5454
```
5555

5656
If you're using AMD or Browserify, you can pass your options to `start`:
@@ -272,6 +272,7 @@ Credits
272272
-------
273273

274274
[HubSpot](http://dev.hubspot.com)
275+
[CodeByZach](https://github.com/CodeByZach)
275276

276277
Javascript by [Zack Bloom](http://twitter.com/zackbloom)
277278
CSS by [Adam Schwartz](http://twitter.com/adamfschwartz)

pace-theme-default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* pace.js v1.2.1 | Default theme
2+
* pace.js v1.2.3 | Default theme
33
* https://github.com/CodeByZach/pace/
44
* Licensed MIT © HubSpot, Inc.
55
*/

pace-theme-default.min.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* pace.js v1.2.1 | Default theme
2+
* pace.js v1.2.3 | Default theme
33
* https://github.com/CodeByZach/pace/
44
* Licensed MIT © HubSpot, Inc.
55
*/

0 commit comments

Comments
 (0)