#10319 closed bug (invalid)
jquery-1.6.4.min.js
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | build | Version: | 1.6.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I think something is wrong in jquery-1.6.4.min.js
My Client [on his old iPad] has a syntax error in jquery-1.6.4.min.js on line 3; Basically impossible to find "the error".
When i replace the library with the "dev version" to debug, there are no errors on his iPad.
No errors either when the dev version gets "packed".
Might be related to "[bug #10288]" ? (NB: my jQuery file was encoded in ANSI, now encoded in UTF-8 without BOM, fails in both encodings)
Change History (3)
comment:1 Changed 12 years ago by
Component: | unfiled → build |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
comment:2 Changed 12 years ago by
I noticed this as well in Eclipse. The problems listed are:
Syntax error, insert ")" to complete Arguments line 1 Syntax error, insert "}" to complete ObjectLiteral line 1
Error marker at char 16185 (the second curly brace in "))}}var")
Syntax error on token "Invalid Regular Expression Options", no accurate correction available line 4
Error marker at char 8274
comment:3 Changed 12 years ago by
Instead of 8274, it is actually marking 8265 through 8273. The dev version has essentially the same code and parses without errors. It looks like the parser is considering the /,... as a continuation of the expression and may just be a parser bug in both cases. Adding newlines after the first comma makes the error move to the next expression and adding a second removes the error completely. It doesn't seem to bother Firefox 6.0.2, but other parsers may be sensitive to this as well and it may deserve further investigation.
This doesn't give us much to go on. If you discover the root of the problem, please let us know.