1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 03:38:00 +01:00

[bootstrap] Fix highlighting the statusline and visual bell after rehash.

--HG--
branch : bootstrapped
This commit is contained in:
Kris Maglione
2010-12-28 15:19:07 -05:00
parent aec00dd4be
commit 53f9181b09
4 changed files with 29 additions and 20 deletions

View File

@@ -82,7 +82,7 @@ var Option = Class("Option", {
get isDefault() this.stringValue === this.stringDefaultValue,
/** @property {value} The option's global value. @see #scope */
get globalValue() options.store.get(this.name, {}).value,
get globalValue() { try { return options.store.get(this.name, {}).value } catch (e) { util.reportError(e); throw e; } },
set globalValue(val) { options.store.set(this.name, { value: val, time: Date.now() }); },
/**