use GestaltLevels.isEmpty instead of (accidental) inlining it
This commit is contained in:
parent
ef514b5b38
commit
fc5e2108a1
3
route.js
3
route.js
|
@ -1231,8 +1231,7 @@ function Routing(exports) {
|
|||
for (var i = 0; i < this.metaLevels.length; i++) {
|
||||
var levels = this.metaLevels[i];
|
||||
for (var j = 0; j < levels.length; j++) {
|
||||
if (!is_emptyMatcher(levels[i].subscriptions)) return false;
|
||||
if (!is_emptyMatcher(levels[i].advertisements)) return false;
|
||||
if (!levels[j].isEmpty()) return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue