I hereby claim:
- I am colingourlay on github.
- I am colingourlay (https://keybase.io/colingourlay) on keybase.
- I have a public key whose fingerprint is E4F2 CB27 99F8 1373 51B1 DABD 39B2 C95F 4463 07A3
To claim this, I am signing this object:
var Y = function (incubate) { | |
return function (scrutinize) { | |
return function (hacker) { | |
if (hacker.gender == 'male' || scrutinize(hacker)) { | |
incubate(hacker.startup); | |
} | |
return hacker; | |
}; | |
}; | |
}; |
function debounce(fn, wait) { | |
var timeout; | |
return function() { | |
var context = this, // preserve context | |
args = arguments, // preserve arguments | |
later = function() { // define a function that: | |
timeout = null; // * nulls the timeout (GC) | |
fn.apply(context, args); // * calls the original fn | |
}; |
{ | |
"dependencies": { | |
"browserify": "~3.30.1" | |
}, | |
"devDependencies": { | |
"clean-css": "~2.1.1", | |
"gazer": "0.0.3", | |
"myth": "~0.3.0", | |
"rework-npm-cli": "0.0.1", | |
"st": "~0.3.1", |
function init() { | |
var HomePage = React.createClass({ | |
render: function() { | |
return <div>Home</div>; | |
} | |
}); | |
var NotFoundPage = React.createClass({ | |
render: function() { |
I hereby claim:
To claim this, I am signing this object:
/* Raynos' function.bind module, edited to add __target__ property */ | |
/* Original: https://github.com/Raynos/function-bind/blob/master/index.js */ | |
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; | |
var slice = Array.prototype.slice; | |
var toStr = Object.prototype.toString; | |
var funcType = '[object Function]'; | |
module.exports = bind; |
var Observable = require("./index.js") | |
module.exports = computed | |
function computed(observables, lambda) { | |
var values = [] | |
function listener(i) { | |
return function (value) { | |
values[i] = value |
var d = require('date.js'); | |
console.log(d('tomorrow afternoon at 4:30pm 1 month from now')); |
var obj = {b: 3, c: 2, a: 1}; | |
_.sortKeysBy(obj); | |
// {a: 1, b: 3, c: 2} | |
_.sortKeysBy(obj, function (value, key) { | |
return value; | |
}); | |
// {a: 1, c: 2, b: 3} |
var format = require('./format'); | |
console.log(format('%s, %s!', 'Hello', 'World')); | |
// > "Hello, World!" |