Nickolasmv / cytoscape-ngraph.forcelayout

Other
9 stars 9 forks source link

Fix node require #1

Closed cmdcolin closed 8 years ago

cmdcolin commented 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.

Nickolasmv commented 8 years ago

Good!

cmdcolin commented 8 years ago

Thanks :) Can you push these changes to npm when you get a chance?

Nickolasmv commented 8 years ago

Hi. Done