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

pass all command actions an args object - IMPORTANT: this will possibly break

your plugin, read the NEWS file
This commit is contained in:
Doug Kearns
2008-10-17 11:39:25 +00:00
parent dba3870773
commit bec8d33e59
15 changed files with 95 additions and 29 deletions

View File

@@ -261,7 +261,7 @@ const liberator = (function () //{{{
{
try
{
var cmd = liberator.eval(args);
var cmd = liberator.eval(args.string);
liberator.execute(cmd);
}
catch (e)
@@ -301,7 +301,7 @@ const liberator = (function () //{{{
return;
}
liberator.help(args);
liberator.help(args.string);
},
{
bang: true,
@@ -322,7 +322,7 @@ const liberator = (function () //{{{
{
try
{
liberator.eval(args);
liberator.eval(args.string);
}
catch (e)
{
@@ -392,6 +392,7 @@ const liberator = (function () //{{{
function (args, special, count)
{
args = args.string;
let method = args[0] == ":" ? "execute" : "eval";
try