public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function(e, ddTargets) { 
      // The layer is the only target :
      var layerTarget = ddTargets[0],
			 layer = ddTargets[0]._layer,
			 del = this.getDragEl(),
			 pos = Dom.getXY(del),
			 layerPos = Dom.getXY(layer.el);
      this._WiringEditor.addModule( this._module ,[pos[0]-layerPos[0]+layer.el.scrollLeft, pos[1]-layerPos[1]+layer.el.scrollTop]);
    }
function(e, ddTargets) { 
      // The layer is the only target :
      var layerTarget = ddTargets[0],
			 layer = ddTargets[0]._layer,
			 del = this.getDragEl(),
			 pos = Dom.getXY(del),
			 layerPos = Dom.getXY(layer.el);
      this._WiringEditor.addModule( this._module ,[pos[0]-layerPos[0]+layer.el.scrollLeft, pos[1]-layerPos[1]+layer.el.scrollTop]);
    }
function ( e , ddTargets ) { // The layer is the only target : var layerTarget = ddTargets [ 0 ] , layer = ddTargets [ 0 ] . _layer , del = this . getDragEl ( ) , pos = Dom . getXY ( del ) , layerPos = Dom . getXY ( layer . el ) ; this . _WiringEditor . addModule ( this . _module , [ pos [ 0 ] - layerPos [ 0 ] + layer . el . scrollLeft , pos [ 1 ] - layerPos [ 1 ] + layer . el . scrollTop ] ) ; }
Add the module to the WiringEditor on drop on layer
@method onDragDrop
Add the module to the WiringEditor on drop on layer