mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-19 16:35:49 +01:00
Make buffer.URL a string again. Use buffer.uri and buffer.documentURI internally. Fix loading Object stores.
This commit is contained in:
@@ -310,16 +310,16 @@ var CommandLine = Module("commandline", {
|
||||
|
||||
this._callbacks = {};
|
||||
|
||||
this._store = storage.newMap("command-history", { store: true, privateData: true });
|
||||
memoize(this, "_store", function () storage.newMap("command-history", { store: true, privateData: true }));
|
||||
|
||||
for (let name in values(["command", "search"]))
|
||||
if (storage.exists("history-" + name)) {
|
||||
let ary = storage.newArray("history-" + name, { store: true, privateData: true });
|
||||
|
||||
this._store.set(name, [v for ([k, v] in ary)]);
|
||||
ary.remove();
|
||||
ary.delete();
|
||||
this._store.changed();
|
||||
}
|
||||
this._store.changed();
|
||||
|
||||
this._messageHistory = { //{{{
|
||||
_messages: [],
|
||||
|
||||
Reference in New Issue
Block a user