Browse Source

forgot to tag source code with github issue

pull/2/head
gorhill 10 years ago
parent
commit
bd411290dd
  1. 1
      src/js/assets.js

1
src/js/assets.js

@ -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…
Cancel
Save