Last active
November 10, 2020 15:54
-
-
Save grossbart/a3e27b3c87ea8b6193d91443f6bbf2a8 to your computer and use it in GitHub Desktop.
Startup
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
Startup | |
Login* | |
login -> URL | |
URL | |
none -> Fetch Local Storage | |
enrolled -> Enrolled Course | |
group -> Groups | |
course -> Courses | |
Fetch Local Storage | |
none -> Fetch Courses | |
enrolled -> Enrolled Course | |
group -> Groups | |
course -> Courses | |
Fetch Courses | |
current -> Current | |
then -> Fetch Local Storage | |
Current | |
single enrolled -> Enrolled Course | |
multiple enrolled -> Choose Enrolled | |
App | |
Start | |
Enrolled | |
Choose Enrolled | |
choice -> Enrolled Course | |
Enrolled Course | |
choice -> Choose Enrolled | |
Groups | |
Courses |
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"}}, | |
`${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment