@everymatrix/player-panic-button 1.38.0 → 1.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -910,6 +910,7 @@
910
910
 
911
911
  Response.error = function() {
912
912
  var response = new Response(null, {status: 200, statusText: ''});
913
+ response.ok = false;
913
914
  response.status = 0;
914
915
  response.type = 'error';
915
916
  return response
@@ -960,7 +961,7 @@
960
961
  };
961
962
  // This check if specifically for when a user fetches a file locally from the file system
962
963
  // Only if the status is out of a normal range
963
- if (request.url.startsWith('file://') && (xhr.status < 200 || xhr.status > 599)) {
964
+ if (request.url.indexOf('file://') === 0 && (xhr.status < 200 || xhr.status > 599)) {
964
965
  options.status = 200;
965
966
  } else {
966
967
  options.status = xhr.status;
@@ -1078,7 +1079,7 @@
1078
1079
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1079
1080
  PERFORMANCE OF THIS SOFTWARE.
1080
1081
  ***************************************************************************** */
1081
- /* global Reflect, Promise, SuppressedError, Symbol */
1082
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
1082
1083
 
1083
1084
  var extendStatics$1 = function(d, b) {
1084
1085
  extendStatics$1 = Object.setPrototypeOf ||
@@ -2135,7 +2136,7 @@
2135
2136
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2136
2137
  PERFORMANCE OF THIS SOFTWARE.
2137
2138
  ***************************************************************************** */
2138
- /* global Reflect, Promise, SuppressedError, Symbol */
2139
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
2139
2140
 
2140
2141
  var extendStatics = function(d, b) {
2141
2142
  extendStatics = Object.setPrototypeOf ||