News for hackers. Stuff that matters.
Re:A Python-to-JavaScript Transpiler with BabelJS and Source... by bildung on Thursday March 31, 2016 @08:19AM (#11396588)
How does interfacing with existing JS libraries work? I try to imagine how using this with a bootstrap theme (=jQuery) would look like.
Re:A Python-to-JavaScript Transpiler with BabelJS and Source... by azazel75 on Thursday March 31, 2016 @08:26AM (#11396628)
If jQuery is installed globally, without package management, just use:

from __globals__ import jQuery

....

jQuery('#an_id')...

Re:A Python-to-JavaScript Transpiler with BabelJS and Source... by bildung on Thursday March 31, 2016 @11:41AM (#11397959)
awesome, thanks for the info!