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

popbox.js line #4

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

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

html - Repeat image to extend header to fill screen -

javascript - Backbone.js getting target attribute -