public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function(wiring) {
      this.clear();
      var i;
      if(YAHOO.lang.isArray(wiring.containers)) {
         for(i = 0 ; i < wiring.containers.length ; i++) {
            this.addContainer(wiring.containers[i]);
         }
      }
      if(YAHOO.lang.isArray(wiring.wires)) {
         for(i = 0 ; i < wiring.wires.length ; i++) {
            this.addWire(wiring.wires[i]);
         }
       }
   }
function(wiring) {
      this.clear();
      var i;
      if(YAHOO.lang.isArray(wiring.containers)) {
         for(i = 0 ; i < wiring.containers.length ; i++) {
            this.addContainer(wiring.containers[i]);
         }
      }
      if(YAHOO.lang.isArray(wiring.wires)) {
         for(i = 0 ; i < wiring.wires.length ; i++) {
            this.addWire(wiring.wires[i]);
         }
       }
   }
function ( wiring ) { this . clear ( ) ; var i ; if ( YAHOO . lang . isArray ( wiring . containers ) ) { for ( i = 0 ; i < wiring . containers . length ; i ++ ) { this . addContainer ( wiring . containers [ i ] ) ; } } if ( YAHOO . lang . isArray ( wiring . wires ) ) { for ( i = 0 ; i < wiring . wires . length ; i ++ ) { this . addWire ( wiring . wires [ i ] ) ; } } }
Load a layer configuration object
@method setWiring
@param {Object} wiring layer configuration
Load a layer configuration object