I've been curious about this myself for jquery in general... I looooove OO programming and tend to always try to use it (including sticking with PHP objects, etc) unless terribly unnecessary; is there a compelling reason to NOT use objects whenever possible in jquery, since objects provide such marvelous encapsulation/clean code/etc?
thanks, --kim --- Anaurag Gupta <[EMAIL PROTECTED]> wrote: > When writing plugin, when is best to write simply > methods, as opposed to an object with helper > functions? > > Not sure when to use jQuery.foo versus jQuery.fn.foo > > Thanks. > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
