Last active
August 24, 2018 07:11
-
-
Save dangh/4ceb7a2ff603c98d0858f1bd4dc2c79a to your computer and use it in GitHub Desktop.
channel spectrum
This file contains 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
channel spectrum | |
ready | |
SELECT_AP -> ready | |
SCAN -> loading | |
loading | |
CANCEL_SCAN -> ready | |
SCAN_SUCCESS -> chart | |
SCAN_FAILURE -> error | |
chart | |
SELECT_AP -> ready | |
SCAN -> loading | |
error | |
SELECT_AP -> ready | |
SCAN -> loading |
This file contains 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