Skip to content

Instantly share code, notes, and snippets.

@StipJey
StipJey / easing.js
Created June 13, 2018 11:38 — forked from gre/easing.js
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {
// no easing, no acceleration
linear: function (t) { return t },
// accelerating from zero velocity
easeInQuad: function (t) { return t*t },
// decelerating to zero velocity
@StipJey
StipJey / Auth.js
Last active May 16, 2017 15:10 — forked from minya92/Auth.js
/**
* Created by lapsh on 16.05.2017.
*/
import React, { Component } from 'react';
import { FormGroup, ControlLabel, FormControl, HelpBlock, Button} from 'react-bootstrap';
function FieldGroup({ id, label, help, ...props }) {
return (
<FormGroup controlId={id}>
<ControlLabel>{label}</ControlLabel>