Add :only.

This commit is contained in:
Doug Kearns committed 2009-10-03 01:13:21 +10:00
1 parent 2788afdb25
commit 3c1ad3089e
4 files changed
+20

No files matched your search

+11
View File
@@ -209,6 +209,17 @@ const config = { //{{{
////////////////////// COMMANDS ////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{
commands.add(["on[ly]"],
"Close all other windows",
function ()
{
liberator.windows.forEach(function (win) {
if (win != window)
win.close();
});
},
{ argCount: "0" });
commands.add(["pref[erences]", "prefs"],
"Show " + config.hostApplication + " preferences",
function (args)