Friday, June 5, 2009

[jQuery] Re: can someone translate this syntax ?

options = $.extend({ ... }, options) is a popular construct in
plugins.

It allows to define default values for a options hash that is passed
as the only parameter.

On Jun 5, 4:22 am, runrunforest <craigco...@gmail.com> wrote:
> thank you, I don't see that in other plugin, acutually so far i've not
> yet see the same plugin structure.

No comments: