media/js/vendor/selectize/selectize.js
function(input) {
			var self = this;
			if (!self.settings.create) return false;
			var filter = self.settings.createFilter;
			return input.length
				&& (typeof filter !== 'function' || filter.apply(self, [input]))
				&& (typeof filter !== 'string' || new RegExp(filter).test(input))
				&& (!(filter instanceof RegExp) || filter.test(input));
		}
function(input) {
			var self = this;
			if (!self.settings.create) return false;
			var filter = self.settings.createFilter;
			return input.length
				&& (typeof filter !== 'function' || filter.apply(self, [input]))
				&& (typeof filter !== 'string' || new RegExp(filter).test(input))
				&& (!(filter instanceof RegExp) || filter.test(input));
		}
function ( input ) { var self = this ; if ( ! self . settings . create ) return false ; var filter = self . settings . createFilter ; return input . length && ( typeof filter !== 'function' || filter . apply ( self , [ input ] ) ) && ( typeof filter !== 'string' || new RegExp ( filter ) . test ( input ) ) && ( ! ( filter instanceof RegExp ) || filter . test ( input ) ) ; }
Determines whether or not to display the
create item prompt, given a user input.

@param {string} input
@return {boolean}
Determines whether or not to display the create item prompt given a user input .