Skip to content

Commit

Permalink
Release version 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
morsdyce committed Mar 7, 2017
1 parent 1ef70ad commit 5437695
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion GruntSource.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "xhook",
"title": "XHook",
"version": "1.4.0",
"version": "1.4.1",
"license": "MIT",
"homepage": "https://github.com/jpillora/xhook",
"author": "Jaime Pillora <[email protected]>",
Expand Down
9 changes: 1 addition & 8 deletions dist/xhook.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// XHook - v1.4.0 - https://github.com/jpillora/xhook
// XHook - v1.4.1 - https://github.com/jpillora/xhook
// Jaime Pillora <[email protected]> - MIT Copyright 2017
var AFTER, BEFORE, COMMON_EVENTS, EventEmitter, FETCH, FIRE, FormData, NativeFetch, NativeFormData, NativeXMLHttp, OFF, ON, READY_STATE, UPLOAD_EVENTS, WINDOW, XHookFetchRequest, XHookFormData, XHookHttpRequest, XMLHTTP, convertHeaders, depricatedProp, document, fakeEvent, mergeObjects, msie, proxyEvents, slice, useragent, xhook, _base,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
Expand Down Expand Up @@ -405,13 +405,6 @@ XHookHttpRequest = WINDOW[XMLHTTP] = function() {
process();
};
facade = request.xhr = EventEmitter();
facade.response = xhr.response;
facade.responseText = xhr.responseText;
facade.responseXML = xhr.responseXML;
facade.responseURL = xhr.responseURL;
facade.readyState = xhr.readyState;
facade.status = xhr.status;
facade.statusText = xhr.statusText;
xhr.onreadystatechange = function(event) {
try {
if (xhr[READY_STATE] === 2) {
Expand Down
4 changes: 2 additions & 2 deletions dist/xhook.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xhook",
"version": "1.4.0",
"version": "1.4.1",
"description": "Easily intercept and modify XHR request and response",
"browser": "dist/xhook.js",
"main": "dist/xhook.js",
Expand Down

0 comments on commit 5437695

Please sign in to comment.