cytoscape-cxtmenu
Advanced tools
Comparing version 2.6.0 to 2.6.1
@@ -23,4 +23,6 @@ /*! | ||
;(function( $ ){ 'use strict'; | ||
;(function(){ 'use strict'; | ||
var $ = typeof jQuery === typeof undefined ? null : jQuery; | ||
var defaults = { | ||
@@ -541,6 +543,6 @@ menuRadius: 100, // the radius of the circular menu in pixels | ||
if( typeof cytoscape !== 'undefined' ){ // expose to global cytoscape (i.e. window.cytoscape) | ||
if( typeof cytoscape !== typeof undefined && $ ){ // expose to global cytoscape (i.e. window.cytoscape) | ||
register( cytoscape, $ ); | ||
} | ||
})( jQuery ); | ||
})(); |
{ | ||
"name": "cytoscape-cxtmenu", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"description": "A context menu for Cytoscape.js", | ||
@@ -5,0 +5,0 @@ "main": "cytoscape-cxtmenu.js", |
601848
1874