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
keycode 8 = | |
keycode 9 = Escape NoSymbol Escape | |
keycode 10 = 1 exclam 1 exclam | |
keycode 11 = 2 at 2 at | |
keycode 12 = 3 numbersign 3 numbersign | |
keycode 13 = 4 dollar 4 dollar | |
keycode 14 = 5 percent 5 percent | |
keycode 15 = 6 asciicircum 6 asciicircum dead_circumflex dead_circumflex dead_circumflex | |
keycode 16 = 7 ampersand 7 ampersand | |
keycode 17 = 8 asterisk 8 asterisk |
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
{ | |
"dependencies": { | |
"es3ify": "^0.2.2", | |
"parcel-bundler": "^1.8.1" | |
} | |
} |
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
interface Config { | |
ADD_ATTR?: string[]; | |
ADD_TAGS?: string[]; | |
ALLOW_DATA_ATTR?: boolean; | |
ALLOWED_ATTR?: string[]; | |
ALLOWED_TAGS?: string[]; | |
FORBID_ATTR?: string[]; | |
FORBID_TAGS?: string[]; | |
FORCE_BODY?: boolean; | |
KEEP_CONTENT?: 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
Start* | |
mounted -> Init | |
Init | |
verificationCodeProvided -> VerifyingCode | |
rootRouteImplicitlyNavigated -> CheckingForExistingSession | |
VerifyingCode | |
success -> Ready | |
failure -> Setup | |
CheckingForExistingSession | |
success -> Ready |
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
# HelpMatch | |
Start* | |
mounted -> LoadingLocalState | |
LoadingLocalState | |
localStateLoaded -> CheckingForSession | |
localStateAbsent -> CheckingForSession | |
CheckingForSession | |
sessionAbsent -> Welcome |
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
# Trivia | |
Start* | |
mounted -> RetrievingToken | |
RetrievingToken | |
tokenRetrieved -> Home | |
tokenFailure -> Error | |
Error | |
backHomeClicked -> Home |
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
const partition = <T>(array: T[], pred: (item: T) => boolean) => | |
array.reduce<[T[], T[]]>( | |
([leftSet, rightSet], item) => | |
pred(item) | |
? [[...leftSet, item], rightSet] | |
: [leftSet, [...rightSet, item]], | |
[[], []], | |
) |