1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-18 04:55:47 +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

@@ -151,14 +151,14 @@ function Mappings() //{{{
// 2 args -> map arg1 to arg*
function map(args, mode, noremap)
{
if (!args.arguments.length)
if (!args.length)
{
mappings.list(mode);
return;
}
// ?:\s+ <- don't remember; (...)? optional = rhs
let [lhs, rhs] = args.arguments;
let [lhs, rhs] = args;
if (!rhs) // list the mapping
{
@@ -224,7 +224,7 @@ function Mappings() //{{{
"Remove a mapping" + modeDescription,
function (args)
{
args = args.arguments[0];
args = args[0];
let found = false;
for (let [,mode] in Iterator(modes))