cytoscape-qtip
Advanced tools
Comparing version 2.7.0 to 2.7.1
@@ -249,3 +249,3 @@ /*! | ||
var cOff = cy.container().getBoundingClientRect(); | ||
var pos = isNode ? ele.renderedPosition() : ( e ? e.cyRenderedPosition : undefined ); | ||
var pos = isNode ? ele.renderedPosition() : ( e ? e.renderedPosition || e.cyRenderedPosition : undefined ); | ||
if( !pos || pos.x == null || isNaN(pos.x) ){ return; } | ||
@@ -359,3 +359,3 @@ | ||
cy.on( opts.show.event, function(e){ | ||
if( !opts.show.cyBgOnly || (opts.show.cyBgOnly && e.cyTarget === cy) ){ | ||
if( !opts.show.cyBgOnly || (opts.show.cyBgOnly && (e.target === cy || e.cyTarget === cy)) ){ | ||
updatePosition(cy, qtip, e); | ||
@@ -368,3 +368,3 @@ | ||
cy.on( opts.hide.event, function(e){ | ||
if( !opts.hide.cyBgOnly || (opts.hide.cyBgOnly && e.cyTarget === cy) ){ | ||
if( !opts.hide.cyBgOnly || (opts.hide.cyBgOnly && (e.target === cy || e.cyTarget === cy)) ){ | ||
qtipApi.hide(); | ||
@@ -371,0 +371,0 @@ } |
@@ -19,3 +19,3 @@ var gulp = require('gulp'); | ||
gulp.task('publish', [], function( next ){ | ||
runSequence('confver', /*'lint',*/ 'pkgver', 'push', 'tag', 'npm', 'spm', next); | ||
runSequence('confver', /*'lint',*/ 'pkgver', 'push', 'tag', 'npm', next); | ||
}); | ||
@@ -77,6 +77,2 @@ | ||
gulp.task('spm', shell.task([ | ||
'spm publish' | ||
])); | ||
// http://www.jshint.com/docs/options/ | ||
@@ -83,0 +79,0 @@ gulp.task('lint', function(){ |
{ | ||
"name": "cytoscape-qtip", | ||
"version": "2.7.0", | ||
"version": "2.7.1", | ||
"description": "A Cytoscape.js extension that wraps the qTip jQuery library", | ||
@@ -5,0 +5,0 @@ "main": "cytoscape-qtip.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
37011
2
447