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

Add :style to NEWS

This commit is contained in:
Kris Maglione
2008-10-03 23:16:19 +00:00
parent 1bb07747c4
commit af60f0ba86
2 changed files with 8 additions and 3 deletions

View File

@@ -182,11 +182,11 @@ var keys = {};
var observers = {};
var storage = {
newObject: function newObject(key, constructor, store, type)
newObject: function newObject(key, constructor, store, type, reload)
{
if (!(key in keys))
if (!(key in keys) || reload)
{
if (key in this)
if (key in this && !reload)
throw Error;
keys[key] = new constructor(key, store, loadPref(key, store, type || Object));
this.__defineGetter__(key, function () keys[key]);