mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-29 11:30:20 +12:00
forgot to tag source code with github issue
This commit is contained in:
parent
b946a96bb6
commit
bd411290dd
|
@ -212,6 +212,7 @@ var cachedAssetsManager = (function() {
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
var getTextFileFromURL = function(url, onLoad, onError) {
|
var getTextFileFromURL = function(url, onLoad, onError) {
|
||||||
|
// https://github.com/gorhill/uMatrix/issues/15
|
||||||
var onResponseReceived = function() {
|
var onResponseReceived = function() {
|
||||||
if ( typeof this.status === 'number' && this.status >= 200 && this.status < 300 ) {
|
if ( typeof this.status === 'number' && this.status >= 200 && this.status < 300 ) {
|
||||||
return onLoad.call(this);
|
return onLoad.call(this);
|
||||||
|
|
Loading…
Reference in a new issue