I 'm fleshing out some of these ideas here: https://github.com/lynaghk/todoFRP/tree/master/todo/angular-cljs
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
sudo apt-get update && apt-get install git-core curl build-essential openssl libssl-dev | |
git clone https://github.com/joyent/node.git | |
cd node | |
# 'git tag' shows all available versions: select the latest stable. | |
git checkout enter-a-version | |
# Configure seems not to find libssl by default so we give it an explicit pointer. | |
# Optionally: you can isolate node by adding --prefix=/opt/node |
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
### Keybase proof | |
I hereby claim: | |
* I am rtorr on github. | |
* I am rtorr (https://keybase.io/rtorr) on keybase. | |
* I have a public key whose fingerprint is CEB1 F420 0388 0950 82E8 4353 B029 B0FB F60B 7F8A | |
To claim this, I am signing this object: |
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
(function(root, factory) { | |
if (typeof exports !== 'undefined') { | |
factory(root, exports); | |
} else { | |
root.HJ_KeyTreeStore = factory(root, {}); | |
} | |
}(this, function(root, HJ_KeyTreeStore) { | |
HJ_KeyTreeStore = function() { | |
this.storage = {}; | |
}; |
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
var State = require('ampersand-state'); | |
// Create a constructor to represent the state we want to store | |
var Person = State.extend({ | |
props: { | |
name: 'string', | |
isDancing: 'boolean' | |
} | |
}); |
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
var State = require('ampersand-state'); | |
// Create a constructor to represent the state we want to store | |
var Person = State.extend({ | |
props: { | |
name: 'string', | |
isDancing: 'boolean' | |
} | |
}); |
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
var State = require('ampersand-state'); | |
// Create a constructor to represent the state we want to store | |
var Person = State.extend({ | |
props: { | |
name: 'string', | |
isDancing: 'boolean' | |
} | |
}); |
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
var AmpersandState = require('ampersand-state'); | |
var Person = AmpersandState.extend({ | |
props: { | |
firstName: 'string', | |
lastName: 'string' | |
}, | |
session: { | |
signedIn: ['boolean', true, false], |
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
var AmpersandState = require('ampersand-state'); | |
var Person = AmpersandState.extend({ | |
props: { | |
firstName: 'string', | |
lastName: 'string' | |
}, | |
session: { | |
signedIn: ['boolean', true, false], |
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
var AmpersandState = require('ampersand-state'); | |
var Person = AmpersandState.extend({ | |
props: { | |
age: { | |
type: 'number', | |
test: function(value){ | |
return value % 2 !== 0; | |
} |