> That way, another author can change how the html gets munged (by passing a > block function or > overwriting $.fn.plugin.munge), without having to change the source of the > original plugin. It > doesn't really add much extra code, and makes your plugin less dependent > on a specific markup > structure :-)
Good example. But I think the same effect can be achieved by simply using the "standard" settings/options mechanism. You can just define a certain function as default and override it via options. The challenge is to indentify the functions that can be extracted and replaced. -- Jörn Zaefferer http://bassistance.de -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
