Bug Tracker

Opened 10 years ago

Closed 10 years ago

#9932 closed bug (invalid)

The closure compiler gives a lot warnings on the 1.6.2 min.js

Reported by: [email protected] Owned by: [email protected]
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

Description

When the 1.6.2.min.js is run thru the 2011.07.28 (today) online Closure Compiler SimpleMode, quite few warnings are produced:

==ClosureCompiler== @compilation_level SIMPLE_OPTIMIZATIONS @output_file_name default.js @code_url http://code.jquery.com/jquery-1.6.2.min.js ==/ClosureCompiler==

Number of warnings: 4

JSC_SUSPICIOUS_SEMICOLON: If this if/for/while really shouldnt have a body, use {} at line 16 beyond character 4095 in jquery-1.6.2.min.js

JSC_USELESS_CODE: Suspicious code. This code lacks side-effects. Is there a bug? at line 16 beyond character 4095 in jquery-1.6.2.min.js

JSC_SUSPICIOUS_SEMICOLON: If this if/for/while really shouldnt have a body, use {} at line 17 beyond character 4095 in jquery-1.6.2.min.js

JSC_USELESS_CODE: Suspicious code. This code lacks side-effects. Is there a bug? at line 17 beyond character 4095 in jquery-1.6.2.min.js

Change History (2)

comment:1 Changed 10 years ago by dmethvin

Owner: set to [email protected]
Status: newpending

Why did you run it on the minified version?

comment:2 Changed 10 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.