Skip to main content

Bug Tracker

Side navigation

#9932 closed bug (invalid)

Opened July 28, 2011 04:23PM UTC

Closed August 12, 2011 07:58AM UTC

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

Reported by: t4chacko@gmail.com Owned by: t4chacko@gmail.com
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

Attachments (0)
Change History (2)

Changed July 28, 2011 05:22PM UTC by dmethvin comment:1

owner: → t4chacko@gmail.com
status: newpending

Why did you run it on the minified version?

Changed August 12, 2011 07:58AM UTC by trac-o-bot comment:2

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!