1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-16 17:43:31 +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

5
NEWS
View File

@@ -1,6 +1,7 @@
<pre> <pre>
2008-XX-XX: 2008-XX-XX:
* version 2.0 (probably) * version 2.0 (probably)
<<<<<<< NEWS
* IMPORTANT: 'verbose' is now used for message levels. Logging is * IMPORTANT: 'verbose' is now used for message levels. Logging is
controlled by the extensions.liberator.loglevel preference. controlled by the extensions.liberator.loglevel preference.
* IMPORTANT: :viusage and :exusage now jump to the help index, use the * IMPORTANT: :viusage and :exusage now jump to the help index, use the
@@ -26,6 +27,10 @@
* add 'eventignore' option * add 'eventignore' option
* add :tabdetach command * add :tabdetach command
* new ;b extended hint mode (thanks Daniel Schaffrath) * new ;b extended hint mode (thanks Daniel Schaffrath)
* :qa! and :q! quit forcefully, as in vim
* stop macro playback on <C-c>
* allow ; hints to work in the multiline output widget
* add :style and :delstyle commands
* many bug fixes * many bug fixes
2008-08-16: 2008-08-16:

View File

@@ -182,11 +182,11 @@ var keys = {};
var observers = {}; var observers = {};
var storage = { 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; throw Error;
keys[key] = new constructor(key, store, loadPref(key, store, type || Object)); keys[key] = new constructor(key, store, loadPref(key, store, type || Object));
this.__defineGetter__(key, function () keys[key]); this.__defineGetter__(key, function () keys[key]);