Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import not working (duplicate inlet/outlet) #464

Open
badgeek opened this issue Jul 13, 2018 · 5 comments
Open

Import not working (duplicate inlet/outlet) #464

badgeek opened this issue Jul 13, 2018 · 5 comments

Comments

@badgeek
Copy link

badgeek commented Jul 13, 2018

when i try to import node from json/plain, everything seems duplicated both inlet and outlet, any fix to this?

@shamansir
Copy link
Owner

@badgeek Please give me the example of your code. What do you mean by importing from JSON? Is just the node definition stored there?

@badgeek
Copy link
Author

badgeek commented Jul 14, 2018

i managed to fix it by replacing original code in plain import like this:

`

      'node/add-inlet': function(command) {
          inlets[command[1]] = nodes[command[0]].inlets[command[3]];
      },

      'node/add-outlet': function(command) {
          outlets[command[1]] = nodes[command[0]].outlets[command[3]];
      },

`

https://manticoreid.github.io/espnode86/

@shamansir
Copy link
Owner

Hmm, now I got the problem, thank you! I will try to investigate into it.

@shamansir
Copy link
Owner

shamansir commented Jul 14, 2018

And it's very nice to see the project has its usage and it looks awesome! :)

@badgeek
Copy link
Author

badgeek commented Jul 14, 2018

thanks also for RPD. im a big fan of data flow programming, was using JSplumb for another project but RPD is more suitable for the project im working on now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants