I 'm fleshing out some of these ideas here: https://github.com/lynaghk/todoFRP/tree/master/todo/angular-cljs
This file contains hidden or 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
rustc points.rs --crate-type=dylib | |
npm install | |
node test.js |
This file contains hidden or 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; | |
} |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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: |