mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-15 10:33:31 +01:00
Fix JS completion when function calls are present
This commit is contained in:
@@ -292,7 +292,7 @@ liberator.Completion = function () //{{{
|
|||||||
{
|
{
|
||||||
case "(":
|
case "(":
|
||||||
/* Function call, or if/while/for/... */
|
/* Function call, or if/while/for/... */
|
||||||
if (/\w\d$/.test(lastNonwhite))
|
if (/[\w\d$]/.test(lastNonwhite))
|
||||||
{
|
{
|
||||||
top[FUNCTIONS].push(i);
|
top[FUNCTIONS].push(i);
|
||||||
top[STATEMENTS].pop();
|
top[STATEMENTS].pop();
|
||||||
|
|||||||
Reference in New Issue
Block a user