mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-06 06:15:45 +01:00
Also groupify commands. Usage examples are in official plugins.
--HG-- branch : groups
This commit is contained in:
@@ -612,7 +612,7 @@ var IO = Module("io", {
|
||||
"E189: " + file.path.quote() + " exists (add ! to override)");
|
||||
|
||||
// TODO: Use a set/specifiable list here:
|
||||
let lines = [cmd.serialize().map(commands.commandToString, cmd) for (cmd in commands.iterator()) if (cmd.serialize)];
|
||||
let lines = [cmd.serialize().map(commands.commandToString, cmd) for (cmd in commands.iterator(true)) if (cmd.serialize)];
|
||||
lines = array.flatten(lines);
|
||||
|
||||
lines.unshift('"' + config.version + "\n");
|
||||
|
||||
@@ -600,7 +600,7 @@ var Styles = Module("Styles", {
|
||||
});
|
||||
},
|
||||
contexts: function (dactyl, modules, window) {
|
||||
modules.Group.Hive("styles", function (group) styles.addHive(group.name));
|
||||
modules.Group.Hives("styles", function (group) styles.addHive(group.name));
|
||||
},
|
||||
completion: function (dactyl, modules, window) {
|
||||
const names = Array.slice(util.computedStyle(window.document.createElement("div")));
|
||||
|
||||
Reference in New Issue
Block a user