Bug Tracker

Modify

Ticket #5679 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

Google closure-compiler compiled version of jQuery

Reported by: othree Owned by:
Priority: minor Milestone: 1.4
Component: core Version: 1.4a2
Keywords: Cc:
Blocking: Blocked by:

Description

Maybe you can support a closure-compiled version of jQuery while 1.4 is out. It's much smaller than the yuicompressor compressed version.

  • yuicompressor -> 92583 bytes
  • closure(simple) -> 67370 bytes
  • closure(advanced) -> 61458 bytes

And, while using closure-compiler. There are 3 warning messages:

jquery-1.4a2.js:2467: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?

elem.parentNode.selectedIndex;

jquery-1.4a2.js:3536: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?

if ( name === "selected" && elem.parentNode ) {

jquery-1.4a2.js:3537: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
elem.parentNode.selectedIndex;


0 error(s), 3 warning(s)

Maybe you can take a look at these codes before release

Change History

comment:1 Changed 4 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed
  • Version set to 1.4a2
  • Component changed from unfilled to core

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.