ericabouaf / wireit

A javascript wiring library to create web wirable interfaces for dataflow applications, visual programming languages or graphical modeling.

Home Page:http://neyric.github.io/wireit/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InOutContainer: terminals are missing

sprat opened this issue · comments

I just got the 0.6.0a download. There's a problem with the InOutContainer not showing the terminals for the inputs and outputs. And if I try to add terminals in the options, i get an error while dragging the module (terminalList[i].redrawAllWires is not a function), because the terminalList is expected to contain Terminal objects but contains terminals configs instead.

Here is how I solved the problem:
in the render function, replace all this.terminals.push(...) calls by this.addTerminal(...)

fixed on edge

hmmm... running edge and still no terminals.