Side navigation
#13809 closed bug (fixed)
Opened April 22, 2013 02:37PM UTC
Closed April 24, 2013 01:07PM UTC
Closure Compiler/YUI Compressor fail
Reported by: | agm257@mail.missouri.edu | Owned by: | gibson042 |
---|---|---|---|
Priority: | undecided | Milestone: | 2.0.1 |
Component: | attributes | Version: | 2.0.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Reproduce:
Go to : http://closure-compiler.appspot.com/home
And paste the jQuery 2.0 source code -- there is a "Missing name after . operator" error.
Notes:
This is also seen in the command line versions of both Closure Compiler and YUI Compressor.
This occurs because neither Closure Compiler nor YUI Compressor support reserved words as property names, so "Sizzle.selectors.match.boolean" throws an error.
Attachments (0)
Change History (4)
Changed April 22, 2013 03:23PM UTC by comment:1
component: | unfiled → attributes |
---|---|
status: | new → open |
Changed April 22, 2013 04:17PM UTC by comment:2
milestone: | None → 2.0.1 |
---|
Let's change "boolean" to "bool" per the meeting.
Changed April 23, 2013 01:42AM UTC by comment:3
owner: | → gibson042 |
---|---|
status: | open → assigned |
boolean
hasn't been reserved since ECMA-262 3rd edition, which I guess puts us in exactly the same boat as #12158 ("throws"). Any preference from the peanut gallery onSizzle.selectors.match["boolean"]
vs.Sizzle.selectors.match.bool
?