Skip to content

Commit

Permalink
chore(XHR): remove latent option
Browse files Browse the repository at this point in the history
will be addressed by #25
  • Loading branch information
Mouvedia committed Dec 23, 2018
1 parent 5822440 commit fec2766
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
* invalid JSON throws
* `abort` becomes a no-op after completion

### Removed
* `caching` option

## [1.5.0][3] - 2018-09-25

### Fixed
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ responseType | | 'text', 'json', 'blob', 'document', 'arraybuffer'
timeout | 0 | ℕ
username | null | String
url | location.href | String, URL
caching⁸ | | 'auto', 'enabled', 'disabled'
multipart⁷ | false | Boolean
tunneling⁵ | false | Boolean
XSLPattern⁴ | false | Boolean
Expand Down Expand Up @@ -249,8 +248,7 @@ url | String
⁴ MSXML 3.0 only<br/>
⁵ method override<br/>
⁶ fetch, Firefox 16+, Presto/2.10.232–2.12.423<br/>
⁷ Gecko 1.7b–22<br/>
⁸ IE 11, Edge</sup>
⁷ Gecko 1.7b–22</sup>

## Gotchas

Expand Down
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,6 @@
// https://support.microsoft.com/en-us/help/832414/
xhr.open(options.method, options.url, true);

if (options.caching && typeof xhr.msCaching == 'string')
xhr.msCaching = options.caching;

if (options.responseType) {
try {
xhr.responseType = options.responseType;
Expand Down

0 comments on commit fec2766

Please sign in to comment.