use GestaltLevels.isEmpty instead of (accidental) inlining it

This commit is contained in:
Tony Garnock-Jones 2014-05-26 05:53:07 -04:00
parent ef514b5b38
commit fc5e2108a1
1 changed files with 1 additions and 2 deletions

View File

@ -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;