From e594e4ca3569b12b3fd314fdfaeafbb2d8f4391a Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 19 Jan 2011 05:44:27 -0500 Subject: [PATCH] Fix :com -complete. Allow directly specifying static completion results. Allow command aliases separated by commas. --- common/content/commands.js | 21 +++++++++++---------- pentadactyl/content/config.js | 4 ++-- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/common/content/commands.js b/common/content/commands.js index 7af444b4..749cdf36 100644 --- a/common/content/commands.js +++ b/common/content/commands.js @@ -1049,7 +1049,7 @@ var Commands = Module("commands", { ]]>) }), - validName: Class.memoize(function () RegExp("^" + this.nameRegexp.source + "$")), + validName: Class.memoize(function () util.regexp("^" + this.nameRegexp.source + "$")), commandRegexp: Class.memoize(function () util.regexp(