public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function(fieldOptions) {

      // Instanciate the field
      var fieldInstance = inputEx(fieldOptions,this);
      
	   this.inputs.push(fieldInstance);
      
      // Create an index to access fields by their name
      if(fieldInstance.options.name) {
         this.inputsNames[fieldInstance.options.name] = fieldInstance;
      }
      
      // Create the this.hasInteractions to run interactions at startup
      if(!this.hasInteractions && fieldOptions.interactions) {
         this.hasInteractions = true;
      }
      
	   // Subscribe to the field "updated" event to send the group "updated" event
      fieldInstance.updatedEvt.subscribe(this.onChange, this, true);
   	  
      return fieldInstance;
   }
function(fieldOptions) {

      // Instanciate the field
      var fieldInstance = inputEx(fieldOptions,this);
      
	   this.inputs.push(fieldInstance);
      
      // Create an index to access fields by their name
      if(fieldInstance.options.name) {
         this.inputsNames[fieldInstance.options.name] = fieldInstance;
      }
      
      // Create the this.hasInteractions to run interactions at startup
      if(!this.hasInteractions && fieldOptions.interactions) {
         this.hasInteractions = true;
      }
      
	   // Subscribe to the field "updated" event to send the group "updated" event
      fieldInstance.updatedEvt.subscribe(this.onChange, this, true);
   	  
      return fieldInstance;
   }
function ( fieldOptions ) { // Instanciate the field var fieldInstance = inputEx ( fieldOptions , this ) ; this . inputs . push ( fieldInstance ) ; // Create an index to access fields by their name if ( fieldInstance . options . name ) { this . inputsNames [ fieldInstance . options . name ] = fieldInstance ; } // Create the this.hasInteractions to run interactions at startup if ( ! this . hasInteractions && fieldOptions . interactions ) { this . hasInteractions = true ; } // Subscribe to the field "updated" event to send the group "updated" event fieldInstance . updatedEvt . subscribe ( this . onChange , this , true ) ; return fieldInstance ; }
Instanciate one field given its parameters, type or fieldClass
@param {Object} fieldOptions The field properties as required by the inputEx() method
Instanciate one field given its parameters type or fieldClass