iVis-at-Bilkent / cytoscape.js-grid-guide

A Cytsocape.js extension to provide a framework for grid interactions such as grid lines and snapping to grid, and guidelines and snap support for alignment of nodes.
MIT License
58 stars 9 forks source link

TypeError: cy.gridGuide is not a function #34

Closed shean42 closed 4 years ago

shean42 commented 6 years ago

After #33 there is now the above issue on initialization. After minimizing our project it turns out that the following line called in another external library causes the issue:

if (window.jQuery) { jQuery.noConflict(); }

Since other plugins, like edgehandles etc., don't have the above issue I wonder if initialization of all plugins should not follow the same pattern, preferably that of plugins without the above issue?!

However, since the hack in #33 still works well for us, this is more a question of general curiosity for now :-)

kinimesi commented 4 years ago

This should be fixed with v2.3.0 since we removed jquery dependency.