mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 17:12:33 +02:00
Fix JS completion when function calls are present
This commit is contained in:
1 parent
99f3e3cfef
commit
12ff5a3bbc
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user