media/js/vendor/selectize/selectize.js
function() {
			var self = this;
			var field_label = self.settings.labelField;
			var field_optgroup = self.settings.optgroupLabelField;
	
			var templates = {
				'optgroup': function(data) {
					return '<div class="optgroup">' + data.html + '</div>';
				},
				'optgroup_header': function(data, escape) {
					return '<div class="optgroup-header">' + escape(data[field_optgroup]) + '</div>';
				},
				'option': function(data, escape) {
					return '<div class="option">' + escape(data[field_label]) + '</div>';
				},
				'item': function(data, escape) {
					return '<div class="item">' + escape(data[field_label]) + '</div>';
				},
				'option_create': function(data, escape) {
					return '<div class="create">Add <strong>' + escape(data.input) + '</strong>&hellip;</div>';
				}
			};
	
			self.settings.render = $.extend({}, templates, self.settings.render);
		}
function() {
			var self = this;
			var field_label = self.settings.labelField;
			var field_optgroup = self.settings.optgroupLabelField;
	
			var templates = {
				'optgroup': function(data) {
					return '<div class="optgroup">' + data.html + '</div>';
				},
				'optgroup_header': function(data, escape) {
					return '<div class="optgroup-header">' + escape(data[field_optgroup]) + '</div>';
				},
				'option': function(data, escape) {
					return '<div class="option">' + escape(data[field_label]) + '</div>';
				},
				'item': function(data, escape) {
					return '<div class="item">' + escape(data[field_label]) + '</div>';
				},
				'option_create': function(data, escape) {
					return '<div class="create">Add <strong>' + escape(data.input) + '</strong>&hellip;</div>';
				}
			};
	
			self.settings.render = $.extend({}, templates, self.settings.render);
		}
function ( ) { var self = this ; var field_label = self . settings . labelField ; var field_optgroup = self . settings . optgroupLabelField ; var templates = { 'optgroup' : function ( data ) { return '<div class="optgroup">' + data . html + '</div>' ; } , 'optgroup_header' : function ( data , escape ) { return '<div class="optgroup-header">' + escape ( data [ field_optgroup ] ) + '</div>' ; } , 'option' : function ( data , escape ) { return '<div class="option">' + escape ( data [ field_label ] ) + '</div>' ; } , 'item' : function ( data , escape ) { return '<div class="item">' + escape ( data [ field_label ] ) + '</div>' ; } , 'option_create' : function ( data , escape ) { return '<div class="create">Add <strong>' + escape ( data . input ) + '</strong>&hellip;</div>' ; } } ; self . settings . render = $ . extend ( { } , templates , self . settings . render ) ; }
Sets up default rendering functions.
Sets up default rendering functions .