Hacker News new | ask | show | jobs
by bildung 3739 days ago
How does interfacing with existing JS libraries work? I try to imagine how using this with a bootstrap theme (=jQuery) would look like.
1 comments

If jQuery is installed globally, without package management, just use:

from __globals__ import jQuery

....

jQuery('#an_id')...

awesome, thanks for the info!