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
4 changes: 2 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Built by `npm run build` (scripts/build.mjs): collapsed in pull request diffs
# and left out of the language stats.
pace.min.js linguist-generated
pace-theme-default.min.css linguist-generated
/pace.min.js linguist-generated
/pace-theme-default.min.css linguist-generated
themes/** linguist-generated
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,12 @@ API
Pace exposes the following methods:

- `Pace.start`: Show the progress bar and start updating. Called automatically if you don't use AMD or CommonJS.
While a run is in progress (not yet `done`), it only stores the options for the next run.

- `Pace.restart`: Show the progress bar if it's hidden and start reporting the progress from scratch. Called automatically
whenever `pushState` or `replaceState` is called by default.

- `Pace.stop`: Hide the progress bar and stop updating it.
- `Pace.stop`: Remove the progress bar and stop updating it, without firing `done` or `hide`. `<body>` gets `pace-done`.

- `Pace.track`: Explicitly track one or more requests, see Tracking below

Expand Down
Loading
Loading