1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 02:34:11 +01:00

Make JS function completion better. Fix some other completion bugs. Dont complete JS after /[\]})"/.

This commit is contained in:
Kris Maglione
2008-11-28 03:15:22 +00:00
parent ff69145da2
commit 0325ac9174
7 changed files with 78 additions and 79 deletions

View File

@@ -263,9 +263,9 @@ function Mappings() //{{{
completion.setFunctionCompleter(mappings.get,
[
null,
function (obj, filter, args)
function (context, obj, args)
{
let mode = this.eval(args[0]);
let mode = args[0]
return util.Array.flatten(
[
[[name, map.description] for ([i, name] in Iterator(map.names))]