> How would options = $.beget($.myplugin.defaults, options || {}); be
> different than options = $.extend({}, $.myplugin.defaults, options ||
> {}); ?
With `$.beget()` you're able to change/add values in `
$.myplugin.defaults` *afterwards* and have them insta-magically
reflected in `options` (except for properties where options overrides
the defaults).
--
Már
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---