Skip to content
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

Issue#378 update cytoscape.js version #387

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from

Conversation

JingVT
Copy link
Collaborator

@JingVT JingVT commented May 22, 2018

Update Cytoscape.js to v3.2.17. For compatibility, we need to upgrade cytoscape-context-menus to version 3.0.6 as well.

Task list for making sure all features related to Cytoscape.js work properly:

Useful Reference: Announcing Cytoscape.js 3.0.0

@JingVT
Copy link
Collaborator Author

JingVT commented Nov 26, 2018

Possible issue:
image

Solution:
uninstall bower: sudo npm -g uninstall bower
check if it is still here which bower
if it will show you something like /usr/local/bin/bower
then rm <path from previous command>
set npm registry URL: npm config set registry="http://registry.npmjs.org/"
install bower: sudo npm -g install bower

@JingVT
Copy link
Collaborator Author

JingVT commented Nov 26, 2018

Update cytoscape:
bower update cytoscape-context-menus
bower update cytoscape

Copy link
Collaborator

@jahandaniyal jahandaniyal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All occurrences of event.Target should be event.target.
Refer- cytoscape/cytoscape.js#1537

@@ -870,7 +870,7 @@ var graphPage = {
},
onTapGraphElement: function (evt) {
// get target
var target = evt.cyTarget;
var target = evt.Target;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JingVT @adbharadwaj - evt.Target is incorrect. It should be evt.target
Refer - cytoscape/cytoscape.js#1537

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants