Skip to content

Commit 5fc8758

Browse files
semenkodiracdeltas
authored andcommitted
Move declaration after cache return
Signed-off-by: Nick Semenkovich <semenko@alum.mit.edu>
1 parent 926c3a9 commit 5fc8758

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

chromium/rules.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ RuleSets.prototype = {
180180

181181
potentiallyApplicableRulesets: function(host) {
182182
// Return a list of rulesets that apply to this host
183-
var tmp, t;
183+
184184
// Have we cached this result? If so, return it!
185185
var cached_item = ruleCache.get(host);
186186
if (cached_item !== undefined) {
@@ -189,6 +189,7 @@ RuleSets.prototype = {
189189
}
190190
log(DBUG, "Ruleset cache miss for " + host);
191191

192+
var tmp, t;
192193
var results = this.global_rulesets.slice(0); // copy global_rulesets
193194
if (this.targets[host])
194195
results = results.concat(this.targets[host]);

0 commit comments

Comments
 (0)