-
Notifications
You must be signed in to change notification settings - Fork 185
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
jsnx unresolved variable #10
Comments
Did you download and include jsnetworkx.js?
|
I think I downloaded the correct file jsnetworkx.js I also have d3.js in the same directory . d3 seems to resolve it's references.When I open the jsnetworkx.js and hover over g.jsnx the IDE say that the reference is unresolved. In the Chrome console there are no errors saying that jsnetworkx.js has not been found. I've attached some screen shots so I guess I've made a slip up some where! |
Does this mean you actually have no problem running the code in the browser and the problem is only in the IDE? Dynamically typed languages can be difficult for IDEs to handle and I cannot really help you there. |
The |
Yeah, as I said, IDEs can have troubles to resolve dynamic languages. Happy coding! :) |
Hello,
I've used the python version of Networkx so was interested in trying out this port.
I'm working on Windows 7 box and use the RubyMine IDE I've created a script tag
<script src="js/jsnetworkx.js"></script> <script src="js/main.js"></script>However in my main.js if I declare
var G = jsnx.complete_graph(6);
The error jsnx unresolved is produced, can you advise what I'm doing wrong?
Brian
The text was updated successfully, but these errors were encountered: