1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 09:44:13 +01:00

Fix :com -complete. Allow directly specifying static completion results. Allow command aliases separated by commas.

This commit is contained in:
Kris Maglione
2011-01-19 05:44:27 -05:00
parent c3ff9950bb
commit e594e4ca35
2 changed files with 13 additions and 12 deletions

View File

@@ -17,6 +17,8 @@ var Config = Module("config", ConfigBase, {
Local: function Local(dactyl, modules, window)
let ({ config } = modules) ({
completers: Class.memoize(function () update({ sidebar: "sidebar", window: "window" }, this.__proto__.completers)),
dialogs: {
about: ["About Firefox",
function () { window.openDialog("chrome://browser/content/aboutDialog.xul", "_blank", "chrome,dialog,modal,centerscreen"); }],
@@ -126,8 +128,6 @@ var Config = Module("config", ConfigBase, {
Leave: "Triggered before exiting Firefox"
},
completers: Class.memoize(function () update({ sidebar: "sidebar", window: "window" }, this.__proto__.completers)),
defaults: {
complete: "slf",
guioptions: "bCrs",