Created
November 11, 2020 11:18
-
-
Save WinstonFassett/1981faca9401547e252cb5f7b5af04de to your computer and use it in GitHub Desktop.
Master-Detail Synchronizer
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
Master-Detail Synchronizer | |
Initializing | |
initialized -> Connecting | |
Connecting | |
success -> Connected | |
Connected | |
Starting Sync | |
Loading Local | |
done -> Loading Remote | |
Loading Remote | |
done -> Subscribing | |
Querying Metadata | |
Loading Metadata Page | |
done -> Loading Docs | |
Loading Docs | |
Loading Doc | |
done -> Subscribing | |
Subscribing | |
subscribed -> Syncing | |
Syncing | |
receiveUpdate -> Syncing | |
disconnect -> Not Connected | |
Not Connected | |
connect -> Connecting |
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 render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment