Created
August 14, 2019 19:02
-
-
Save d4hines/e27d1c4cdb07d08ec0496db3e5726f42 to your computer and use it in GitHub Desktop.
Workspace A is loaded
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
Workspace A is loaded | |
user requests to load B-> Switch Requested | |
Switch Requested | |
any window responds as NOT_READY -> Workspace A is loaded | |
all windows respond as READY -> Switch In Progress | |
Switch In Progress | |
any window fails to close -> Empty Workspace is loaded | |
all windows close -> Workspace B is loaded | |
Empty Workspace is loaded | |
Workspace B is loaded |
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