media/js/vendor/selectize/selectize.js
function() {
			var key, fn, callbacks = {
				'initialize'      : 'onInitialize',
				'change'          : 'onChange',
				'item_add'        : 'onItemAdd',
				'item_remove'     : 'onItemRemove',
				'clear'           : 'onClear',
				'option_add'      : 'onOptionAdd',
				'option_remove'   : 'onOptionRemove',
				'option_clear'    : 'onOptionClear',
				'optgroup_add'    : 'onOptionGroupAdd',
				'optgroup_remove' : 'onOptionGroupRemove',
				'optgroup_clear'  : 'onOptionGroupClear',
				'dropdown_open'   : 'onDropdownOpen',
				'dropdown_close'  : 'onDropdownClose',
				'type'            : 'onType',
				'load'            : 'onLoad',
				'focus'           : 'onFocus',
				'blur'            : 'onBlur'
			};
	
			for (key in callbacks) {
				if (callbacks.hasOwnProperty(key)) {
					fn = this.settings[callbacks[key]];
					if (fn) this.on(key, fn);
				}
			}
		}
function() {
			var key, fn, callbacks = {
				'initialize'      : 'onInitialize',
				'change'          : 'onChange',
				'item_add'        : 'onItemAdd',
				'item_remove'     : 'onItemRemove',
				'clear'           : 'onClear',
				'option_add'      : 'onOptionAdd',
				'option_remove'   : 'onOptionRemove',
				'option_clear'    : 'onOptionClear',
				'optgroup_add'    : 'onOptionGroupAdd',
				'optgroup_remove' : 'onOptionGroupRemove',
				'optgroup_clear'  : 'onOptionGroupClear',
				'dropdown_open'   : 'onDropdownOpen',
				'dropdown_close'  : 'onDropdownClose',
				'type'            : 'onType',
				'load'            : 'onLoad',
				'focus'           : 'onFocus',
				'blur'            : 'onBlur'
			};
	
			for (key in callbacks) {
				if (callbacks.hasOwnProperty(key)) {
					fn = this.settings[callbacks[key]];
					if (fn) this.on(key, fn);
				}
			}
		}
function ( ) { var key , fn , callbacks = { 'initialize' : 'onInitialize' , 'change' : 'onChange' , 'item_add' : 'onItemAdd' , 'item_remove' : 'onItemRemove' , 'clear' : 'onClear' , 'option_add' : 'onOptionAdd' , 'option_remove' : 'onOptionRemove' , 'option_clear' : 'onOptionClear' , 'optgroup_add' : 'onOptionGroupAdd' , 'optgroup_remove' : 'onOptionGroupRemove' , 'optgroup_clear' : 'onOptionGroupClear' , 'dropdown_open' : 'onDropdownOpen' , 'dropdown_close' : 'onDropdownClose' , 'type' : 'onType' , 'load' : 'onLoad' , 'focus' : 'onFocus' , 'blur' : 'onBlur' } ; for ( key in callbacks ) { if ( callbacks . hasOwnProperty ( key ) ) { fn = this . settings [ callbacks [ key ] ] ; if ( fn ) this . on ( key , fn ) ; } } }
Maps fired events to callbacks provided
in the settings used when creating the control.
Maps fired events to callbacks provided in the settings used when creating the control .