src/selectize.js
function() {
		var self = this;

		self.loadedSearches = {};
		self.userOptions = {};
		self.renderCache = {};
		var options = self.options;
		$.each(self.options, function(key, value) {
			if(self.items.indexOf(key) == -1) {
				delete options[key];
			}
		});
		self.options = self.sifter.items = options;
		self.lastQuery = null;
		self.trigger('option_clear');
	}
function() {
		var self = this;

		self.loadedSearches = {};
		self.userOptions = {};
		self.renderCache = {};
		var options = self.options;
		$.each(self.options, function(key, value) {
			if(self.items.indexOf(key) == -1) {
				delete options[key];
			}
		});
		self.options = self.sifter.items = options;
		self.lastQuery = null;
		self.trigger('option_clear');
	}
function ( ) { var self = this ; self . loadedSearches = { } ; self . userOptions = { } ; self . renderCache = { } ; var options = self . options ; $ . each ( self . options , function ( key , value ) { if ( self . items . indexOf ( key ) == - 1 ) { delete options [ key ] ; } } ) ; self . options = self . sifter . items = options ; self . lastQuery = null ; self . trigger ( 'option_clear' ) ; }
Clears all options.
Clears all options .