[Infusion-users] Layout Reorderer and jQueryUIWidgets
colinbdclark at gmail.com
Wed Feb 24 15:07:32 UTC 2010
[Somehow my response didn't get sent earlier, despite having thought I sent it last week...]
It's a granularity problem. Infusion's build system treats dependencies as modules that contain multiple files. We treat all jQuery UI plugins as a single module at the moment. This is a known issue.
A couple of workarounds:
1. As you suggested, exclude all jQuery UI widgets and just satisfy the ones you actually use.
2. Create new dependency declaration JSON files for each plugin individually. We'd happily accept a patch for inclusion in Infusion, and it's easy to to do.
Hope this helps,
On 2010-02-19, at 12:42 PM, Eli Cochran wrote:
> In Sakai 3, we use the Layout Reorderer component. I'm looking at building a custom Fluid build instead of using Infusion-All. Looking through the dependencies, I notice that if I pick up the Reorderer component I get a lot of jQuery UI widget stuff that doesn't seem to be needed for Layout Reorderer.
> ui.dialog.js, ui.accordion.js, ui.slider.js
> I assume that I need: ui.draggable.js.
> There doesn't seem to be a way for me to do a build that excludes the former but excludes that latter. It would be great to be able to build a build that just works for Layout Reorderer with out the rest of the Reorderer.
> At the moment, I'm planning on excluding jQueryUIWidgets, and bundling ui.draggable.js separately.
> By the way, if I'm missing something here, please let me know.
> . . . . . . . . . . . . . . . . . . .
> Eli Cochran
> user interaction developer
> ETS, UC Berkeley
> Infusion-users mailing list
> Infusion-users at fluidproject.org
Technical Lead, Fluid Project
More information about the Infusion-users