Add an option to set a timeout for XHR requests (#95)

Closes #24.
This commit was merged in pull request #95.
This commit is contained in:
BehindTheMath
2018-01-07 23:56:11 -05:00
committed by GitHub
parent d3d5ef7a11
commit 6491e32437
4 changed files with 12 additions and 1 deletions

View File

@@ -392,6 +392,10 @@ Useful to debug page layout differences.
When set to true, clicking on a link that point the current url trigger a full page reload.
##### `timeout` (Integer, default to 0)
The timeout in milliseconds for the XHR requests. Set to 0 to disable the timeout.
### Events
Pjax fires a number of events regardless of how its invoked.