[jQuery] Re: Using one namespace for multiple methods

2008-01-09 Thread Danny
The short answer is, yes, you're doing the wrong thing to try to namespace plugins. It's not officially supported. If you really want to, I wrote a small plugin that simulates namespaces by copying methods in and out of the jQuery object; it was discussed here: http://www.nabble.com/Re%3A-passing-

[jQuery] Re: Using one namespace for multiple methods

2008-01-09 Thread Ariel Flesler
Oops, I misread, ignore my comment, sorry :) Ariel Flesler On 9 ene, 19:04, Ariel Flesler <[EMAIL PROTECTED]> wrote: > $().something == $.fn.something > > Ariel Flesler > > On 9 ene, 16:29, Zoram <[EMAIL PROTECTED]> wrote: > > > > > I am working on a plugin and was trying to figure out what was

[jQuery] Re: Using one namespace for multiple methods

2008-01-09 Thread Ariel Flesler
$().something == $.fn.something Ariel Flesler On 9 ene, 16:29, Zoram <[EMAIL PROTECTED]> wrote: > I am working on a plugin and was trying to figure out what was > happening to break my code.. > > I have in my plugin functions similar to the following: > > $.fn.pluginName = function() {} > > $.fn