public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function(event, args) {
      var wire = args[0];
      var index = WireIt.indexOf(wire, this.wires);
      if( index != -1 ) {
         this.wires[index] = null;
         this.wires = WireIt.compact(this.wires);
         this.eventRemoveWire.fire(wire);
			this.eventChanged.fire(this);
      }
   }
function(event, args) {
      var wire = args[0];
      var index = WireIt.indexOf(wire, this.wires);
      if( index != -1 ) {
         this.wires[index] = null;
         this.wires = WireIt.compact(this.wires);
         this.eventRemoveWire.fire(wire);
			this.eventChanged.fire(this);
      }
   }
function ( event , args ) { var wire = args [ 0 ] ; var index = WireIt . indexOf ( wire , this . wires ) ; if ( index != - 1 ) { this . wires [ index ] = null ; this . wires = WireIt . compact ( this . wires ) ; this . eventRemoveWire . fire ( wire ) ; this . eventChanged . fire ( this ) ; } }
Update the wire list when a wire is removed
@method onRemoveWire
@param {Event} event The eventRemoveWire event fired by the container
@param {Array} args This array contains a single element args[0] which is the removed Wire instance
Update the wire list when a wire is removed