cytoscape / cytoscape.js-navigator

Bird's eye view pan and zoom control for Cytoscape.js.
MIT License
67 stars 42 forks source link

must include $ when registering #28

Closed ajoslin103 closed 6 years ago

ajoslin103 commented 7 years ago

Using this library in an Aurelia application I find that I must register it with the jquery param or it fails to work.

works ok: navigator( cytoscape, $ );

doesn't work: navigator( cytoscape );

(love it, btw!)

maxkfranz commented 7 years ago

If you use AMD, you have to specify everything yourself.

ajoslin103 commented 7 years ago

yes, I figured that out - only noted it in case you wanted to tweak the docs

maxkfranz commented 7 years ago

@mj3cheun Could you update the readme when you publish the extensions updates?