[jQuery] Re: Plugin Authoring and $.extend

2009-12-30 Thread T.J. Simmons
You know, I didn't even realize there was two differing sets of documentation; that would explain why I was confused as to the multitude of arguments passed when the documentation listed only one. I appreciate the help; you guys cleared that up for me. Thanks. -- T.J. On Dec 30, 4:04 pm, Scott S

[jQuery] Re: Plugin Authoring and $.extend

2009-12-30 Thread Scott Sauyet
On Dec 30, 1:35 pm, "T.J. Simmons" wrote: > You know, I see it now; it says in the documentation "The object that > will be merged into the jQuery object.".. I read that and took it to > be the core of jQuery itself, since the documentation only lists one > argument for $.extend. In Mike's article

[jQuery] Re: Plugin Authoring and $.extend

2009-12-30 Thread T.J. Simmons
You know, I see it now; it says in the documentation "The object that will be merged into the jQuery object.".. I read that and took it to be the core of jQuery itself, since the documentation only lists one argument for $.extend. In Mike's article I saw that it was combining two things, I just wa

[jQuery] Re: Plugin Authoring and $.extend

2009-12-30 Thread MorningZ
oops.. that should say: "the third: $.extend(obj2, obj3);"

[jQuery] Re: Plugin Authoring and $.extend

2009-12-30 Thread MorningZ
anything that the docs doesn't explain properly? it pretty much "combines" two objects, saving the result in the object specified as the first parameter... in Mike's awesome article, he has "default" values but if the user passes in options, the .extend() method overwrites the defaults with what t