resource-loader
Advanced tools
Comparing version 1.5.2 to 1.5.3
{ | ||
"name": "resource-loader", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"main": "./src/index.js", | ||
@@ -5,0 +5,0 @@ "description": "A generic asset loader, made with web games in mind.", |
@@ -480,3 +480,4 @@ var EventEmitter = require('eventemitter3'), | ||
if (status === 200 || status === 204) { | ||
// status can be 0 when using the file:// protocol, also check if a response was found | ||
if (status === 200 || status === 204 || (status === 0 && xhr.responseText.length > 0)) { | ||
// if text, just return it | ||
@@ -483,0 +484,0 @@ if (this.xhrType === Resource.XHR_RESPONSE_TYPE.TEXT) { |
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
59695
1356