Jörn Zaefferer wrote:
> 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.
Yep, that would work nicely, as long as the default settings/options were 
exposed -- i.e. 
$.fn.plugin.settings = { ... } instead of a closure or local var.

> The challenge is to indentify the functions that can be extracted and 
> replaced.
Definitely. It's easy to go a bit crazy and make everything overwritable, which 
makes the code 
messy. It's a fine balance :-)

Luke

-- 
zinc Roe Design
www.zincroe.com
(647) 477-6016

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to