[jQuery] Re: New Plugin to help optimise usage of jQuery plugins - contributions welcome

2008-04-05 Thread Nicolas R
Ariel, thanks for the feedback. I included the debugging option so that developers can see how long it takes for some plugins to load, so that they could optimise it accordingly (fewer selectors for each plugin, no/less calls to getNeeded() function). It seems however that 'alternate stylesheet'

[jQuery] Re: New Plugin to help optimise usage of jQuery plugins - contributions welcome

2008-04-04 Thread Ariel Flesler
Hi Nicolas, I see that you are creating around 4 or 5 global variables, you just need to add a 'var' before. Also you include the example in the actual source code of the plugin, not good IMO. I'd remove the console methods, or at least, make one function call 'log' and do the check only once.

[jQuery] Re: New Plugin to help optimise usage of jQuery plugins - contributions welcome

2008-04-04 Thread Nicolas R
There seems to be a problem with the plugin when loading external CSS and the browser is Opera. From what I understand Opera loads the DOM first, and then the CSS (all others do it the other way around). For some reason external style sheets will not be applied to the DOM (even if they are

[jQuery] Re: New Plugin to help optimise usage of jQuery plugins - contributions welcome

2008-04-04 Thread Ariel Flesler
Just a guess, but set rel=alternate stylesheet to the style.. it solved a problem I had some time ago, not exactly this, but I know it is a quirk. -- Ariel Flesler http://flesler.blogspot.com On 4 abr, 12:27, Nicolas R [EMAIL PROTECTED] wrote: There seems to be a problem with the plugin when