I'm having a lot of fun extending jQuery, but some thing looks much obscure.

One of them is why i need to use

jQuery.fn.extend({
                'myPlugin':     function(opts) { ... }
})

And why it will not work if I just make something like

jQuery.myPlugin = function(opts) { ... }


Any help?

-- 
Reinaldo de Souza "JuniorZ"
http://reinaldojunior.net

-- Non ducor, duco

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to