Closed d2fong closed 7 years ago
@d2fong Does 872ea70 help? It should work around the issue by having Babel convert class
to function
, but we should probably address this in the core lib as well.
@maxkfranz it doesn't throw an error anymore once I add .babelrc but I don't think it is working properly. The layout doesn't seem to run when I call it.
Saving the default options is missing from the scaffolder: https://github.com/cytoscape/slush-cytoscape-extension/blob/master/templates/src/layout/discrete.js#L26
Using cytoscape 3.1.4
When creating a new layout extension, I get the following error once I register the layout and try to run it.