[Pkg-mozext-commits] [firebug] 33/82: Fix parsing of a.%%b
David Prévot
taffit at moszumanska.debian.org
Mon Mar 31 22:45:38 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag fbtest-1.11.2
in repository firebug.
commit af98a1f2e60a77c09885f2280eb3553960f19282
Author: Simon Lindholm <simon.lindholm10 at gmail.com>
Date: Mon Dec 31 20:59:28 2012 +0100
Fix parsing of a.%%b
Should be a syntax error, but was previously |closure(closure(a)).b|.
---
extension/content/firebug/console/autoCompleter.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extension/content/firebug/console/autoCompleter.js b/extension/content/firebug/console/autoCompleter.js
index eb8d8dc..65e6483 100644
--- a/extension/content/firebug/console/autoCompleter.js
+++ b/extension/content/firebug/console/autoCompleter.js
@@ -943,7 +943,7 @@ Firebug.JSAutoCompleter.transformScopeOperator = function(expr, fname)
expr = subst(expr);
sexpr = subst(sexpr);
- search = end + fname.length + (hasNew ? 3 : 1); // |(()).| - |.%|, or |().| - |.%|
+ search = end + fname.length + (hasNew ? 5 : 3); // |(()).| or |().|
}
}
return expr;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list