Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Nov 22, 2014
1 parent a31351c commit ee361ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/js/matrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,12 +376,15 @@ Matrix.prototype.evaluateCellZ = function(srcHostname, desHostname, type) {
break;
}
}
// srcHostname is '*' at this point

// Preset blacklisted hostnames are blacklisted in global scope
if ( type === '*' && µm.ubiquitousBlacklist.test(desHostname) ) {
return 1;
}

// https://github.com/gorhill/uMatrix/issues/65
// Hardcoded `doc` rule
// Hardcoded global `doc` rule
if ( type === 'doc' && desHostname === '*' ) {
return 2;
}
Expand Down

0 comments on commit ee361ae

Please sign in to comment.