1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 12:35:47 +01:00

Add missing semicolons.

This commit is contained in:
Doug Kearns
2015-05-25 23:54:56 +10:00
parent 72a4d80ad1
commit 5ab1befbf7
35 changed files with 82 additions and 84 deletions

View File

@@ -1356,7 +1356,7 @@ var Commands = Module("commands", {
}
if (complete)
var context = complete.fork(command.name).fork("opts", len);;
var context = complete.fork(command.name).fork("opts", len);
if (!complete || /(\w|^)[!\s]/.test(str))
args = command.parseArgs(args, context, { count: count, bang: bang });
@@ -1641,7 +1641,7 @@ var Commands = Module("commands", {
description: "The argument completion function",
completer: function (context) [[k, ""] for ([k, v] of iter(config.completers))],
type: CommandOption.STRING,
validator: function (arg) arg in config.completers || /^custom,/.test(arg),
validator: function (arg) arg in config.completers || /^custom,/.test(arg)
},
{
names: ["-description", "-desc", "-d"],