Add timeout for XHR requests

Closes #24.
This commit is contained in:
Behind The Math
2017-12-21 23:01:29 -05:00
parent d3d5ef7a11
commit 66ec50fec5
4 changed files with 11 additions and 0 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 10000)
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.