public/javascripts/inputex/build/inputex.js
function(options) {
   	inputEx.ColorField.superclass.setOptions.call(this, options);
   	
   	// Overwrite options
   	this.options.className = options.className ? options.className : 'inputEx-Field inputEx-ColorField inputEx-PickerField';
   	
   	// Added options
   	this.options.palette = options.palette;
   	this.options.colors = options.colors;
   	
   	if (options.ratio) { this.options.ratio = options.ratio;}
   	if (options.cellPerLine) { this.options.cellPerLine = options.cellPerLine;}
   }
function(options) {
   	inputEx.ColorField.superclass.setOptions.call(this, options);
   	
   	// Overwrite options
   	this.options.className = options.className ? options.className : 'inputEx-Field inputEx-ColorField inputEx-PickerField';
   	
   	// Added options
   	this.options.palette = options.palette;
   	this.options.colors = options.colors;
   	
   	if (options.ratio) { this.options.ratio = options.ratio;}
   	if (options.cellPerLine) { this.options.cellPerLine = options.cellPerLine;}
   }
function ( options ) { inputEx . ColorField . superclass . setOptions . call ( this , options ) ; // Overwrite options this . options . className = options . className ? options . className : 'inputEx-Field inputEx-ColorField inputEx-PickerField' ; // Added options this . options . palette = options . palette ; this . options . colors = options . colors ; if ( options . ratio ) { this . options . ratio = options . ratio ; } if ( options . cellPerLine ) { this . options . cellPerLine = options . cellPerLine ; } }
Adds the 'inputEx-ColorField' default className
@param {Object} options Options object as passed to the constructor
Adds the inputEx - ColorField default className