Skip to content

Instantly share code, notes, and snippets.

##Install

  1. Install sublime-esformatter from package control
  2. Modify the package.json in the esformatter package folder to look like this:
{
  "name": "esformatter-generator",
  "version": "0.1.0",
 "author": "Fabio Crisci ",
@zkilgore
zkilgore / HandlerA.js
Last active July 25, 2017 19:03
Example of how to use React TransitionGroup and react-router
module.exports = React.createClass({
componentWillEnter(cb) {
doSomeAsyncAnimationStuff(function() {
cb();
});
},
componentDidEnter() {
// Called after cb arg from componentWillEnter is called
@zkilgore
zkilgore / matrix3d.js
Last active August 29, 2015 14:14 — forked from f5io/matrix3d.js
(function(w) {
var Matrix3D = {};
Matrix3D._deg2rad = function(deg) {
return deg * (Math.PI / 180);
};
Matrix3D.create = function() {
var out, args = Array.prototype.slice.call(arguments);