Core implementation needed for ES5 to ES3 transforms using 'jspatch'
- Install jsgrep
- Convert your source code using
node spatch-cli.js es5-to-es3.spatch source.js // yields the converted source
- Prepare the implementation of ES5 by implemeting the missing polyfills in es5.js
- Concat es5.js and the converted code
- Wrap the result of the previous steps in a closure and export your object