code: function() {
        var terminalList = [];
        if(this.wires) {
           for(var i = 0 ; i < this.wires.length ; i++) {
              terminalList.push(this.wires[i].getOtherTerminal(this));
           }
        }
        return terminalList;
     }
docs: Returns a list of all the terminals connecter to this terminal through its wires.
  @method getConnectedTerminals
  @return  {Array}  List of all connected terminals