Skip to content

Commit

Permalink
Fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nickuraltsev committed Mar 2, 2017
1 parent 142bce1 commit b053f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/adapters/xhr.js
Expand Up @@ -137,7 +137,7 @@ module.exports = function xhrAdapter(config) {
try {
request.responseType = config.responseType;
} catch (e) {
// Expectes DOMException thrown by browsers not compatible XMLHttpRequest Level 2.
// Expected DOMException thrown by browsers not compatible XMLHttpRequest Level 2.
// But, this can be suppressed for 'json' type as it can be parsed by default 'transformResponse' function.
if (config.responseType !== 'json') {
throw e;
Expand Down

0 comments on commit b053f4b

Please sign in to comment.