Open jimmywarting opened 7 years ago
I'm happy to accept a pull request which compiles the CoffeeScript to JS at build time. Then the NPM package will contain plain-JS for projects to use, and the coffee-script
dependency can be moved to dev-dependencies.
Also happy to include an example written in ES6 (ES7 is not supported in PhantomJS yet).
Also note that one can use JsJob
in Node.js from plain JavaScript today (ES6 or whatever your node version supports). One example here: https://github.com/wikihouseproject/buildx-editor/blob/master/src/nestingserver.js
And the JsJob which runs inside is always standard JavaScript.
replace it with es7