code: function() {
        
        // Output Terminal
        if(!this.outputTerminal) {
     	   this.outputTerminal = this.addTerminal({xtype: "WireIt.util.TerminalOutput", "name": "out"});      
           this.outputTerminal.jsBox = this;
        }
        
        // Input terminals :
        var match = (this.textarea.value).match((/^[ ]*function[ ]*\((.*)\)[ ]*\{/));
     	var sParamList = match ? match[1] : "";
        var params = sParamList.split(',');
        var nParams = (sParamList=="") ? 0 : params.length;
        
        var curTerminalN = this.nParams || 0;
        if(curTerminalN < nParams) {
           // add terminals
           for(var i = curTerminalN ; i < nParams ; i++) {
              var term = this.addTerminal({xtype: "WireIt.util.TerminalInput", "name": "param"+i});
              //term.jsBox = this;
              WireIt.sn(term.el, null, {position: "absolute", top: "-15px"});
           }
        }
        else if (curTerminalN > nParams) {
           // remove terminals
           for(var i = this.terminals.length-(curTerminalN-nParams) ; i < this.terminals.length ; i++) {
           	this.terminals[i].remove();
           	this.terminals[i] = null;
           }
           this.terminals = WireIt.compact(this.terminals);
        }
        this.nParams = nParams;
     
        this.positionTerminals();
  
        // Declare the new terminals to the drag'n drop handler (so the wires are moved around with the container)
        this.dd.setTerminals(this.terminals);
     }
docs: Create (and re-create) the terminals with this.nParams input terminals
  @method createTerminals