Skip to content

Commit d38000e

Browse files
author
Zack Bloom
committed
Add ignoredURLs doc
1 parent 81859ff commit d38000e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/intro.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,16 @@ Pace.track(function(){
221221
});
222222
```
223223

224+
You can also ignore URLs based on a pattern:
225+
226+
```javascript
227+
Pace.options = {
228+
ajax: {
229+
ignoredURLs: ['some-substring', /some-regexp/]
230+
}
231+
}
232+
```
233+
224234
Dependencies
225235
------------
226236

0 commit comments

Comments
 (0)