Skip to main content

Bug Tracker

Side navigation

#10319 closed bug (invalid)

Opened September 20, 2011 03:08PM UTC

Closed September 20, 2011 04:36PM UTC

Last modified March 14, 2012 09:03AM UTC

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)

Attachments (0)
Change History (3)

Changed September 20, 2011 04:36PM UTC by timmywil comment:1

component: unfiledbuild
priority: undecidedlow
resolution: → invalid
status: newclosed

This doesn't give us much to go on. If you discover the root of the problem, please let us know.

Changed September 22, 2011 08:00PM UTC by anonymous comment:2

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

Changed September 22, 2011 08:15PM UTC by anonymous comment:3

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.