ericabouaf / wireit

A javascript wiring library to create web wirable interfaces for dataflow applications, visual programming languages or graphical modeling.
http://neyric.github.io/wireit/docs/
Other
520 stars 90 forks source link

InOutContainer: terminals are missing #49

Closed sprat closed 13 years ago

sprat commented 13 years ago

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.

sprat commented 13 years ago

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

ericabouaf commented 13 years ago

fixed on edge

that0n3guy commented 13 years ago

hmmm... running edge and still no terminals.