1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-16 23:15:47 +01:00

Change Storage#newObject signature.

This commit is contained in:
Kris Maglione
2009-10-29 20:30:24 -04:00
parent 172d04c1f2
commit 9bb01ce7ef
5 changed files with 12 additions and 12 deletions

View File

@@ -249,7 +249,7 @@ function Bookmarks() //{{{
statusline.updateUrl();
};
var cache = storage.newObject("bookmark-cache", Cache, false);
var cache = storage.newObject("bookmark-cache", Cache, { store: false });
storage.addObserver("bookmark-cache", bookmarkObserver, window);
/////////////////////////////////////////////////////////////////////////////}}}

View File

@@ -99,7 +99,7 @@ function Browser() //{{{
}
}
}).init();
}, false);
}, { store: false });
storage.addObserver("private-mode",
function (key, event, value) {
autocommands.trigger("PrivateMode", { state: value });

View File

@@ -581,12 +581,12 @@ let (array = util.Array)
/**
* @property {Styles}
*/
const styles = storage.newObject("styles", Styles, false);
const styles = storage.newObject("styles", Styles, { store: false });
/**
* @property {Highlights}
*/
const highlight = storage.newObject("highlight", Highlights, false);
const highlight = storage.newObject("highlight", Highlights, { store: false });
if (highlight.CSS != Highlights.prototype.CSS)
{

View File

@@ -56,7 +56,7 @@ function CommandLine() //{{{
}
}
}).init();
}, false);
}, { store: false });
storage.addObserver("sanitize",
function (key, event, value) {
autocommands.trigger("Sanitize", {});