Can jQuery UI be used as separate scripts?
I'd like to use jQuery UI using separate JS files for each of the
components, so that I can just pull in what I need on individual
pages. The nature of my project is that it's not easy to make an up
front determination as to which of the ui.whatever.js files are
needed, and I'd rather not include the whole large script on a "just
in case" basis. So I'd like to be able to use server-side code to
dynamically figure out what scripts I need and include what's needed.
However, the download page only gives me the option to get a custom
combined minimized js file - or get *un*minimized files if I download
the source code.
Is there any way to download a minimized version of the individual
modules - a minimized ui.core.js, minimized ui.sortable.js, etc, that
would all work together? Is this a supported scenario at all?
Thanks,
Stuart.