Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Copyright (c) 2013 HubSpot, Inc.
Copyright (c) 2019 Zachary Miller

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,10 @@ A few things Pace can't track:

- Requests sent with `async: false` block the page until they finish, so the bar can't animate during them.
- Downloads started by a plain link aren't ajax requests.
- Requests sent before Pace first starts. When it doesn't start on page load (`startOnPageLoad: false`, or with a
bundler), call `Pace.start()` early.
- Requests made through a library that replaces `window.XMLHttpRequest` with its own version (such as xhook), if that
library loads before Pace. Load Pace first.

Avoid calling `Pace.restart()` for every request, for example from jQuery's `ajaxStart`. It restarts the bar even for
ignored requests, and parallel requests restart it several times. To show the bar for `POST` requests, add `POST` to
Expand All @@ -312,7 +316,7 @@ If you run into a compatibility issue, please create an issue.
Size
----

pace.min.js is under 4 kB gzipped. The themes are between 0.2 and 3.2 kB gzipped.
pace.min.js is about 4 kB gzipped. The themes are between 0.2 and 3.2 kB gzipped.

Issues
------
Expand All @@ -325,7 +329,7 @@ Credits

[HubSpot](http://dev.hubspot.com)

[CodeByZach](https://github.com/CodeByZach)
[Zachary Miller](https://github.com/CodeByZach)

Javascript by [Zack Bloom](http://twitter.com/zackbloom)
CSS by [Adam Schwartz](http://twitter.com/adamfschwartz)
Expand Down
2 changes: 1 addition & 1 deletion pace-theme-default.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* pace.js v1.3.1 | Default theme
* https://github.com/CodeByZach/pace/
* Licensed MIT © HubSpot, Inc.
* Licensed MIT © HubSpot, Inc. and Zachary Miller
*/
.pace {
-webkit-pointer-events: none;
Expand Down
2 changes: 1 addition & 1 deletion pace-theme-default.min.css

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

Loading
Loading