1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 17:17:59 +01:00

Refactor cache module to avoid using zip store for smaller items.

This commit is contained in:
Kris Maglione
2014-02-17 13:13:41 -08:00
parent 94a0f80efe
commit 3d925be093
7 changed files with 75 additions and 58 deletions

View File

@@ -563,9 +563,10 @@ var Modes = Module("modes", {
return rec(roots);
}
cache.register("modes.dtd", () =>
util.makeDTD(iter({ "modes.tree": makeTree() },
config.dtd)));
cache.register("modes.dtd",
() => util.makeDTD(iter({ "modes.tree": makeTree() },
config.dtd)),
true);
},
mappings: function initMappings() {
mappings.add([modes.BASE, modes.NORMAL],