is 'settings' a keyword in jQuery? -
i came across following code in jquery plugin. have simplified take away classes etc. [key]word 'settings' keeps appearing:-
$(settings['#id1'], this).bind('click', function(){...}); $(settings['box']).fadeout("fast"); , $(this).find(settings['#id1']);
is settings
keyword here? can't find in documentation
var settings = $.extend({ selector : this.selector, open : '.open', box : '.box', arrow : '.arrow', arrow_border : '.arrow-border', close : '.close' }, options);
it wasn't hard find.
Comments
Post a Comment