HighDots Forums  

Google closure tools and library

jQuery jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript.


Discuss Google closure tools and library in the jQuery forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
claya
 
Posts: n/a

Default Google closure tools and library - 11-06-2009 , 01:55 PM






Any thoughts on the Google closures tools release announcement.

http://googlecode.blogspot.com/2009/11/introducing-closure-tools.html

Will jQuery work with it? is it better?

Reply With Quote
  #2  
Old   
Jake B
 
Posts: n/a

Default Re: Google closure tools and library - 11-07-2009 , 01:47 PM






If you look at the online version of the compiler, you'll see that
jQuery, jQuery UI, and other popular libraries are options in the "Add
a URL" dropdown menu:

http://closure-compiler.appspot.com/home

I assume that means that Google anticipates Closure being used in
conjunction with those existing libraries.

On Nov 6, 1:55*pm, claya <clakac... (AT) gmail (DOT) com> wrote:
Quote:
Any thoughts on the Google closures tools release announcement.

http://googlecode.blogspot.com/2009/11/introducing-closure-tools.html

Will jQuery work with it? is it better?

Reply With Quote
  #3  
Old   
Diego Desani
 
Posts: n/a

Default Re: Google closure tools and library - 11-08-2009 , 08:23 PM



Tks! =)

On 7 nov, 16:47, Jake B <jakeboon... (AT) gmail (DOT) com> wrote:
Quote:
If you look at the online version of the compiler, you'll see that
jQuery, jQuery UI, and other popular libraries are options in the "Add
a URL" dropdown menu:

http://closure-compiler.appspot.com/home

I assume that means that Google anticipates Closure being used in
conjunction with those existing libraries.

On Nov 6, 1:55*pm, claya <clakac... (AT) gmail (DOT) com> wrote:> Any thoughts on the Google closures tools release announcement.

http://googlecode.blogspot.com/2009/11/introducing-closure-tools.html

Will jQuery work with it? is it better?

Reply With Quote
  #4  
Old   
waseem sabjee
 
Posts: n/a

Default Re: [jQuery] Re: Google closure tools and library - 11-09-2009 , 12:41 AM



in closure I selected Jquery from the URL and tried this specific code.

$(function() { alert(true); });

they were no errors.
but 3 warnings.
I also noticed it takes considerably longer to compile JavaScript as it
compiles the whole Jquery library along with your script.
Shouldn't it compile your script only since jquery.min is a compiled file ?

*Number of warnings: 3*
JSC_USELESS_CODE: Suspicious code. This code lacks side-effects. Is there a
bug? at line 988 character 3 in
jquery.js<view-source:http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js>
if ( name == "selected" && elem.parentNode )
^
JSC_USELESS_CODE: Suspicious code. This code lacks side-effects. Is there a
bug? at line 989 character 4 in
jquery.js<view-source:http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js>
elem.parentNode.selectedIndex;
^
JSC_USELESS_CODE: Suspicious code. This code lacks side-effects. Is there a
bug? at line 1866 character 3 in
jquery.js<view-source:http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js>
elem.parentNode.selectedIndex;
^
On Mon, Nov 9, 2009 at 3:23 AM, Diego Desani <ddesani (AT) gmail (DOT) com> wrote:

Quote:
Tks! =)

On 7 nov, 16:47, Jake B <jakeboon... (AT) gmail (DOT) com> wrote:
If you look at the online version of the compiler, you'll see that
jQuery, jQuery UI, and other popular libraries are options in the "Add
a URL" dropdown menu:

http://closure-compiler.appspot.com/home

I assume that means that Google anticipates Closure being used in
conjunction with those existing libraries.

On Nov 6, 1:55 pm, claya <clakac... (AT) gmail (DOT) com> wrote:> Any thoughts on
the Google closures tools release announcement.

http://googlecode.blogspot.com/2009/11/introducing-closure-tools.html

Will jQuery work with it? is it better?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.