1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-21 23:05:46 +01:00

s/args.arguments/args/g

This commit is contained in:
Kris Maglione
2008-11-26 21:10:54 +00:00
parent a19f3d78ab
commit 20ab9ef0c7
12 changed files with 45 additions and 46 deletions

View File

@@ -72,7 +72,7 @@ function AutoCommands() //{{{
"Execute commands automatically on events",
function (args, special)
{
let [event, regex, cmd] = args.arguments;
let [event, regex, cmd] = args;
let events = null;
if (event)
{
@@ -101,7 +101,7 @@ function AutoCommands() //{{{
if (special)
{
// TODO: "*" only appears to work in Vim when there is a {group} specified
if (args.arguments[0] != "*" || regex)
if (args[0] != "*" || regex)
autocommands.remove(event, regex); // remove all
}
else
@@ -725,7 +725,7 @@ function Events() //{{{
commands.add(["macros"],
"List all macros",
function (args) { completion.listCompleter("macro", args.arguments[0]) },
function (args) { completion.listCompleter("macro", args[0]) },
{
argCount: "1",
completer: function (context) completion.macro(context),
@@ -733,7 +733,7 @@ function Events() //{{{
commands.add(["pl[ay]"],
"Replay a recorded macro",
function (args) { events.playMacro(args.arguments[0]); },
function (args) { events.playMacro(args[0]); },
{
argCount: "1",
completer: function (context) completion.macro(context)