On Mon, May 4, 2009 at 11:52 AM, Tim <[email protected]> wrote: > > One of the nice things about jQuery is that everything is modular. I > like this approach because it's easy to trim down the library to just > what you need and nothing else. > > One of the "new" features on the jQuery UI site is the ability to > build a custom download of the library by selecting which plugins you > want to include in the library. I have a few gripes with this > approach, but maybe it's my naivety on it's true benefit. > > I have a lot of pages with varying interfaces. One page might use the > date picker plugin, and nothing else, while another might use the > whole gamut: accordian, dialog, datepicker, etc. It seems logical to > me that I should allow my simple page to only include the datepicker > plugin, while my more complex page could include all the plugins that > it required. > > Right now, this is difficult to achieve. You can download a build of > the UI library and select which components you want to be put into a > minified version, but theres no way to select JUST the component > without the core. This means that if I wanted to have something where > I'd include each component separately I'd be including the core > multiple times. > > There are other options to work around this but they all seem messy, > and have a similar problem of decentralizing the core of the library. > > So I guess my questions in short are, is there a way to download the > components, minified and modularly?
Yes. You can download the entire development bundle: http://jquery-ui.googlecode.com/files/jquery-ui-1.7.1.zip which has each individual file, minified (see /ui/minified/). If you do a customized version of jQuery UI in the download builder, you get the same, but only the files you specify. See the folder in the zip called 'development-bundle'. - Richard > If not what's the reason behind > this decision? > > Thanks, > Tim > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
