Closed cmdcolin closed 8 years ago
I was getting a empty object from performing a require('cytoscape-ngraph.forcelayout')
I looked at some other cytoscape.js modules and saw that they had a statement called standAlone in their gulp build and added that here
Afterwards it uses a correct registration function
I also changed some variable names in the README.md to make them syntactically valid
Then I ran "gulp" and the resulting cytoscape-ngraph.forcelayout.js was generated.
Good!
Thanks :) Can you push these changes to npm when you get a chance?
Hi. Done
I was getting a empty object from performing a require('cytoscape-ngraph.forcelayout')
I looked at some other cytoscape.js modules and saw that they had a statement called standAlone in their gulp build and added that here
Afterwards it uses a correct registration function
I also changed some variable names in the README.md to make them syntactically valid
Then I ran "gulp" and the resulting cytoscape-ngraph.forcelayout.js was generated.