1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 09:48:00 +01:00

add some missing argCount specs to commands

This commit is contained in:
Doug Kearns
2008-10-06 13:07:57 +00:00
parent 6afe44a1f3
commit 413e01da41
8 changed files with 35 additions and 30 deletions

View File

@@ -675,7 +675,10 @@ liberator.Buffer = function () //{{{
liberator.options.setPref("print.show_print_progress", spp);
liberator.echo("Print job sent.");
},
{ bang: true });
{
argCount: "0",
bang: true
});
liberator.commands.add(["pa[geinfo]"],
"Show various page information",
@@ -724,7 +727,10 @@ liberator.Buffer = function () //{{{
//else
saveDocument(window.content.document, special);
},
{ bang: true, });
{
argCount: "0",
bang: true
});
liberator.commands.add(["st[op]"],
"Stop loading",
@@ -795,7 +801,10 @@ liberator.Buffer = function () //{{{
liberator.commands.add(["vie[wsource]"],
"View source code of current document",
function (args, special) { liberator.buffer.viewSource(args, special); },
{ bang: true });
{
argCount: "1",
bang: true
});
liberator.commands.add(["zo[om]"],
"Set zoom value of current web page",