Skip to content

Instantly share code, notes, and snippets.

duration = (ms, scheduler = Scheduler.animationFrame) => {
return msElapsed()
.map(ems => ems / ms)
.takeWhile(t => t <= 1)
.finally(() => 1);
}
import {createStore} from 'redux';
import React from 'react';
export default class Need {
static PropTypes = {
exampleImage : React.PropTypes.string.isRequired,
name : React.PropTypes.string.isRequired,
description : React.PropTypes.string.isRequired,
exampleUrl : React.PropTypes.string.isRequired,
examplePrice : React.PropTypes.number.isRequired
using UnityEngine;
using System.Collections;
using System.IO;
using System;
using System.Collections.Generic;
// Copyright (c) 2014 Hunter Thomas
// http://github.com/ScrapCupcake
//
// This software is provided 'as-is', without any express or implied warranty. In
@scrapcupcake
scrapcupcake / brine.js
Last active August 29, 2015 13:58
Brine JS
require.config({
shim: {
'handlebars': {
exports: 'Handlebars'
}
},
packages: [
{
name: 'handlebars',
location: '//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.3.0/',