Side navigation
#5679 closed enhancement (fixed)
Opened December 19, 2009 08:59AM UTC
Closed December 22, 2009 04:16PM UTC
Google closure-compiler compiled version of jQuery
Reported by: | othree | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.4 |
Component: | core | Version: | 1.4a2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
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
Attachments (0)
Change History (1)
Changed December 22, 2009 04:16PM UTC by comment:1
component: | unfilled → core |
---|---|
resolution: | → fixed |
status: | new → closed |
version: | → 1.4a2 |
Fixed.
http://github.com/jquery/jquery/commit/3fd62eae9df3159fc238a515bb748140a942313d