4 ms·
This seems pretty cool. I just tried using jslint to lint a file, it works! https://gist.github.com/ianjosephwilson/7c6c0a2c833e92b3a82c6d1c8e50286c https://gi
by gardentheory 10y ago
This seems pretty cool. I just tried using jslint to lint a file, it works! https://gist.github.com/ianjosephwilson/7c6c0a2c833e92b3a82c6d1c8e50286c https://gist.github.com/ianjosephwilson/7c6c0a2c833e92b3a82c...
- jbaviat 10y agoThe PyMiniRacer repository is also bundled with a BabelJS (https://babeljs.io/ https://babeljs.io/) example: https://github.com/sqreen/PyMiniRacer/blob/master/helpers/babel.py https://github.com/sqreen/PyMiniRacer/blob/master/helpers/ba... You can easily try it once PyMiniRacer is installed to transpile JavaScript files: cat some-file.js | python helpers/babel.py