##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 ",| //usage | |
| yield call(batchLoad, assetRequests.assets); | |
| function* batchLoad(assetReqs, offset = 0) { | |
| yield put({ | |
| type: ActionTypes.FETCH_ASSETREQUESTS_SUCCESS, | |
| payload: fromJS(assetReqs) | |
| .slice(offset, offset + 20) | |
| .reduce(convertToMapBy('id'), Map()) | |
| .map(AssetRequest) |
| interface TodosFindResponse { | |
| promiseData?: TodoEntity[]; | |
| promiseError?: object; | |
| loaded: boolean; | |
| } | |
| interface AddedTodosState { | |
| addedTodos: TodoEntity[]; | |
| addTodoToState: (todo: TodoEntity) => void; | |
| } | |
| interface SearchFilterState { |
| import { Map } from 'immutable'; | |
| import { createSelector } from 'reselect'; | |
| /** | |
| * Action Types | |
| */ | |
| export const types = { | |
| REQUESTLIST_FETCH_START: 'REQUESTLIST/FETCH_START', | |
| REQUESTLIST_FETCH_SUCCESS: 'REQUESTLIST/FETCH_SUCCESS', | |
| REQUESTLIST_FETCH_FAILURE: 'REQUESTLIST/FETCH_FAILURE' |
| CardDirective.$inject = ['VicStripeService', 'vicPayments']; | |
| function CardDirective(VicStripeService, vicPayments){ | |
| return { | |
| restrict: 'E', | |
| scope: { | |
| card: '=' | |
| }, | |
| templateUrl: function(elem, attrs) { | |
| return attrs.template || 'victor/stripeForm.html'; | |
| }, |
| import React, { Component, PropTypes } from 'react'; | |
| class someComponent extends Component { | |
| static propTypes = { | |
| history: PropTypes.object | |
| } | |
| someFunction(){ | |
##Install
{
"name": "esformatter-generator",
"version": "0.1.0",
"author": "Fabio Crisci ",| var fs = require('fs'), | |
| _ = require('lodash'), | |
| casper = require('casper').create({ | |
| clientScripts: ["jquery.js", "moment.js"] | |
| }); | |
| var games = [], | |
| pageCount = 146; | |
| var fetchGamesFromPage = function(page) { |
| //Create a new Graph Object | |
| FB.api( | |
| 'me/objects/video.movie', | |
| 'post', { | |
| 'object': { | |
| 'title': 'Sample Movie', | |
| 'type': 'video.movie', | |
| 'image': 'http://stuffpoint.com/cats/image/41633-cats-cute-cat.jpg', | |
| 'url': 'http://localhost:9000', | |
| 'description': 'Example Description Here', |
This is a rebound of "[GIF]Animations" from Filip Slováček.
http://dribbble.com/shots/1386563--GIF-Interactions?list=users
A Pen by Craig Richardson on CodePen.