Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| :root { | |
| --ease-in-quad: cubic-bezier(.55, .085, .68, .53); | |
| --ease-in-cubic: cubic-bezier(.550, .055, .675, .19); | |
| --ease-in-quart: cubic-bezier(.895, .03, .685, .22); | |
| --ease-in-quint: cubic-bezier(.755, .05, .855, .06); | |
| --ease-in-expo: cubic-bezier(.95, .05, .795, .035); | |
| --ease-in-circ: cubic-bezier(.6, .04, .98, .335); | |
| --ease-out-quad: cubic-bezier(.25, .46, .45, .94); | |
| --ease-out-cubic: cubic-bezier(.215, .61, .355, 1); |
| import React from 'react'; | |
| import MyCoolTextarea from '../MyCoolTextarea'; | |
| import MyCoolCounter from '../MyCoolCounter'; | |
| const MyCoolComponent = React.createClass({ | |
| // Define a method on the parent component describing what should happen when | |
| // the textarea gets updated. At this point, the only thing needed is to store | |
| // the length of the textarea’s content in a state on the parent component. | |
| // |
| var gulp = require('gulp'), | |
| sass = require('gulp-ruby-sass'), | |
| gulpif = require('gulp-if'), | |
| usemin = require('gulp-usemin'), | |
| uglify = require('gulp-uglify'), | |
| gutil = require('gulp-util'), | |
| concat = require('gulp-concat'), | |
| plumber = require('gulp-plumber'), | |
| browserify = require('gulp-browserify'), | |
| minifyHTML = require('gulp-minify-html'), |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| // easing functions http://goo.gl/5HLl8 | |
| Math.easeInOutQuad = function (t, b, c, d) { | |
| t /= d/2; | |
| if (t < 1) { | |
| return c/2*t*t + b | |
| } | |
| t--; | |
| return -c/2 * (t*(t-2) - 1) + b; | |
| }; |