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:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user