1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 03:35:45 +01:00

Backout last change. Something broke just before I committed.

This commit is contained in:
Kris Maglione
2008-12-03 21:49:49 -05:00
parent 3592723aad
commit 35f807a046
5 changed files with 36 additions and 61 deletions

View File

@@ -45,7 +45,7 @@ function Option(names, description, type, defaultValue, extraInfo) //{{{
this.description = description || "";
// "", 0 are valid default values
this.defaultValue = (defaultValue == null) ? null : defaultValue;
this.defaultValue = (defaultValue === undefined) ? null : defaultValue;
this.setter = extraInfo.setter || null;
this.getter = extraInfo.getter || null;
@@ -73,7 +73,7 @@ function Option(names, description, type, defaultValue, extraInfo) //{{{
}
Option.prototype = {
get globalvalue() options.store.get(this.name),
set globalvalue(val) options.store.set(this.name, val),
set globalvalue(val) { options.store.set(this.name, val) },
parseValues: function (value)
{