1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-17 09:44:59 +12:00
This commit is contained in:
gorhill 2014-10-26 19:28:03 -04:00
parent 6d72b65a1a
commit c0450c578d

View file

@ -486,6 +486,9 @@ Matrix.prototype.evaluateSwitchZ = function(srcHostname) {
/******************************************************************************/
// TODO: In all likelyhood, will have to optmize here, i.e. keeping an
// up-to-date collection of src hostnames with reference count etc.
Matrix.prototype.extractAllSourceHostnames = function() {
var srcHostnames = {};
var rules = this.rules;