##Install
- Install sublime-esformatter from package control
- Modify the package.json in the esformatter package folder to look like this:
{
"name": "esformatter-generator",
"version": "0.1.0",
"author": "Fabio Crisci ",##Install
{
"name": "esformatter-generator",
"version": "0.1.0",
"author": "Fabio Crisci ",| module.exports = React.createClass({ | |
| componentWillEnter(cb) { | |
| doSomeAsyncAnimationStuff(function() { | |
| cb(); | |
| }); | |
| }, | |
| componentDidEnter() { | |
| // Called after cb arg from componentWillEnter is called |
| (function(w) { | |
| var Matrix3D = {}; | |
| Matrix3D._deg2rad = function(deg) { | |
| return deg * (Math.PI / 180); | |
| }; | |
| Matrix3D.create = function() { | |
| var out, args = Array.prototype.slice.call(arguments); |