1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 07:27:58 +01:00

Resurrect my range finder, Part III: Search highlighting.

This commit is contained in:
Kris Maglione
2009-11-11 06:09:26 -05:00
parent 0f4598fcd6
commit f8ddb3e9c3
3 changed files with 195 additions and 222 deletions

View File

@@ -190,17 +190,17 @@ const Option = Class("Option", {
else
scope = this.scope;
let aValue;
let value;
if (liberator.has("tabs") && (scope & options.OPTION_SCOPE_LOCAL))
aValue = tabs.options[this.name];
if ((scope & options.OPTION_SCOPE_GLOBAL) && (aValue == undefined))
aValue = this.globalValue;
value = tabs.options[this.name];
if ((scope & options.OPTION_SCOPE_GLOBAL) && (value == undefined))
value = this.globalValue;
if (this.getter)
return liberator.trapErrors(this.getter, this, aValue);
return liberator.trapErrors(this.getter, this, value);
return aValue;
return value;
},
/**