Monday, May 5, 2008

Downloading the Full MooTools Library

posted by Jonah Dempcy

One of my minor frustrations on the MooTools download page has always been having to manually select each component to add. While it is nice that you can keep the filesize down by omitting components that you don't need, I wish they had a way to select all components at once.

Well, it turns out they do. I just found out that Mootools actually allows you to select all components by calling the Download.all() method. You can do this by opening the Firebug console while you're on the MooTools download page and entering Download.all() and clicking Run. Alternately, if you don't have Firebug, you can enter javascript:Download.all() into the addressbar and press enter. This will select all components on the page.

Labels: ,

2 Comments:

Blogger Jonah Dempcy said...

Here's a bookmarklet that I found on solutoire: Link

May 5, 2008 at 9:43 PM  
Blogger keif said...

sure if you've stumbled across it before, but if you're using 1.1 and have your custom script done, you can run it through Packito (http://icebeat.bitacoras.com/mootools/packito/) and it'll tell you what packages you need to have in mootools.

Squeeze out a few more KB from the library file!

May 11, 2008 at 9:56 PM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home