Bug Tracker

Modify

Ticket #9932 (closed bug: invalid)

Opened 22 months ago

Last modified 22 months ago

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

Reported by: t4chacko@… Owned by: t4chacko@…
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.2
Keywords: Cc:
Blocking: Blocked by:

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

comment:1 Changed 22 months ago by dmethvin

  • Owner set to t4chacko@…
  • Status changed from new to pending

Why did you run it on the minified version?

comment:2 Changed 22 months ago by trac-o-bot

  • Status changed from pending to closed
  • Resolution set to invalid

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!

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.