Skip to content

Commit 3b0bd59

Browse files
author
Gaëtan Renaudeau
committed
Update README
1 parent cdfde87 commit 3b0bd59

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ var p = Qajax("/", { timeout: 5000 });
130130
// p will be rejected if the server is not responding in 5 seconds.
131131
```
132132

133-
The default timeout is `Qajax.TIMEOUT` and can be overriden.
133+
The default timeout is `Qajax.defaults.timeout` and can be overriden.
134134

135135
* You can set XHR headers by giving the `header` options.
136136

@@ -159,6 +159,13 @@ function getResults (query) {
159159
*/
160160
```
161161

162+
* More defaults:
163+
* logs: Disable/Enable the logs
164+
* ie: Disable/Enable the IE support
165+
* header: Global headers for all requests
166+
* base: A base url for all requests
167+
168+
162169
Tests
163170
---
164171

0 commit comments

Comments
 (0)