[jQuery] Re: is this possible in jQ: plugin namespaces?

2007-08-14 Thread Stephan Beal
On Aug 14, 4:05 pm, Benjamin Sterling [EMAIL PROTECTED] wrote: Stephan, I believe it is possible, M. Alsup does just that in is cycle plugin:http://malsup.com/jquery/cycle/jquery.cycle.all.js?v1.4 That *almost* does what i'm looking for, but not quite. In that case, a single plugin uses

[jQuery] Re: is this possible in jQ: plugin namespaces?

2007-08-14 Thread Ganeshji Marwaha
I dont think it is possible Stephan. jquery core requires the plugin method to be part of the $.fn (which is jQuery.prototype internally). This way jQuery will be able to call the method in the context of the jquery object itself. This is how we get this to represent the jQuery object itself. I