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

Fix JS completion when function calls are present

This commit is contained in:
Kris Maglione
2008-10-12 20:10:13 +00:00
parent 99f3e3cfef
commit 12ff5a3bbc

View File

@@ -292,7 +292,7 @@ liberator.Completion = function () //{{{
{
case "(":
/* Function call, or if/while/for/... */
if (/\w\d$/.test(lastNonwhite))
if (/[\w\d$]/.test(lastNonwhite))
{
top[FUNCTIONS].push(i);
top[STATEMENTS].pop();