This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
duration = (ms, scheduler = Scheduler.animationFrame) => { | |
return msElapsed() | |
.map(ems => ems / ms) | |
.takeWhile(t => t <= 1) | |
.finally(() => 1); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require.config({ | |
shim: { | |
'handlebars': { | |
exports: 'Handlebars' | |
} | |
}, | |
packages: [ | |
{ | |
name: 'handlebars', | |
location: '//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.3.0/', |