I hereby claim:
- I am spentacular on github.
- I am spentacular (https://keybase.io/spentacular) on keybase.
- I have a public key whose fingerprint is 2D4E FDA4 BDB6 78A6 651A 5B56 50A4 17F5 7FD6 D570
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class StateMachine { | |
constructor(initialState, transitions) { | |
this.state = initialState | |
this.transitions = transitions | |
} | |
transition(next) { | |
const nextState = this.transitions[this.state][next] | |
if (!nextState) throw new Error(`invalid: ${this.state} -> ${next}`) | |
this.state = nextState |
{"lastUpload":"2020-11-30T20:41:25.071Z","extensionVersion":"v3.4.3"} |
{ | |
"keyboard": "tada68", | |
"keymap": "spencer", | |
"layout": "LAYOUT_ansi", | |
"layers": [ | |
[ | |
"KC_GRV", | |
"KC_1", | |
"KC_2", | |
"KC_3", |