public/javascripts/inputex/build/inputex.js
function(options) {
   	inputEx.DateField.superclass.setOptions.call(this, options);
   	
   	// Overwrite options
   	this.options.className = options.className ? options.className : 'inputEx-Field inputEx-DateField';
   	this.options.messages.invalid = inputEx.messages.invalidDate ? inputEx.messages.invalidDate : "Invalid date, ex: 03/27/2008";
   	
   	// Added options
   	this.options.dateFormat = options.dateFormat || inputEx.messages.defaultDateFormat;
		this.options.valueFormat = options.valueFormat;
   }
function(options) {
   	inputEx.DateField.superclass.setOptions.call(this, options);
   	
   	// Overwrite options
   	this.options.className = options.className ? options.className : 'inputEx-Field inputEx-DateField';
   	this.options.messages.invalid = inputEx.messages.invalidDate ? inputEx.messages.invalidDate : "Invalid date, ex: 03/27/2008";
   	
   	// Added options
   	this.options.dateFormat = options.dateFormat || inputEx.messages.defaultDateFormat;
		this.options.valueFormat = options.valueFormat;
   }
function ( options ) { inputEx . DateField . superclass . setOptions . call ( this , options ) ; // Overwrite options this . options . className = options . className ? options . className : 'inputEx-Field inputEx-DateField' ; this . options . messages . invalid = inputEx . messages . invalidDate ? inputEx . messages . invalidDate : "Invalid date, ex: 03/27/2008" ; // Added options this . options . dateFormat = options . dateFormat || inputEx . messages . defaultDateFormat ; this . options . valueFormat = options . valueFormat ; }
Adds the 'inputEx-DateField' default className
@param {Object} options Options object as passed to the constructor
Adds the inputEx - DateField default className