xhr-shaper
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -428,3 +428,2 @@ this["XHRShaper"] = | ||
XHRProxy: _xhr2.default, | ||
XHR: XHR, | ||
useGlobal: useGlobal | ||
@@ -472,4 +471,4 @@ }; | ||
//console.log('native loadend'); | ||
console.log('native loadend'); | ||
loadEndEvent = event; | ||
@@ -488,4 +487,4 @@ if (done && _onloadend) { | ||
//console.log('native load'); | ||
console.log('native load'); | ||
loadEvent = event; | ||
@@ -566,3 +565,3 @@ if (done && _onload && xhr.readyState === 4) { | ||
} else { | ||
console.log('done, not delaying'); | ||
//console.log('done, not delaying'); | ||
done = true; | ||
@@ -619,4 +618,4 @@ triggerStateChange(event); | ||
xhr._id = id; | ||
xhrProxy._id = id; | ||
xhr.__throttledId = id; | ||
xhrProxy.__throttledId = id; | ||
} | ||
@@ -623,0 +622,0 @@ |
@@ -437,3 +437,2 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
XHRProxy: _xhr2.default, | ||
XHR: XHR, | ||
useGlobal: useGlobal | ||
@@ -481,4 +480,4 @@ }; | ||
//console.log('native loadend'); | ||
console.log('native loadend'); | ||
loadEndEvent = event; | ||
@@ -497,4 +496,4 @@ if (done && _onloadend) { | ||
//console.log('native load'); | ||
console.log('native load'); | ||
loadEvent = event; | ||
@@ -575,3 +574,3 @@ if (done && _onload && xhr.readyState === 4) { | ||
} else { | ||
console.log('done, not delaying'); | ||
//console.log('done, not delaying'); | ||
done = true; | ||
@@ -628,4 +627,4 @@ triggerStateChange(event); | ||
xhr._id = id; | ||
xhrProxy._id = id; | ||
xhr.__throttledId = id; | ||
xhrProxy.__throttledId = id; | ||
} | ||
@@ -632,0 +631,0 @@ |
{ | ||
"name": "xhr-shaper", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Shapes your XHR requests to a max emulated bandwidth and latency, randomizes frequency of progress events", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
116637
1871