-
-
Save statonjr/e2c88c683a3b285e7d96956cea9396d0 to your computer and use it in GitHub Desktop.
Nag*
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
Nag* | |
Main Screen | |
Default* | |
task label pressed -> Text Entry | |
add 1 h button pressed -> Ticking | |
add 1 m button pressed -> Ticking | |
subtract 1 h button pressed -> Ticking | |
subtract 1 m button pressed -> Ticking | |
info button pressed -> Display | |
add task button pressed -> New Main Screen | |
Text Entry | |
canceled -> Default | |
submitted -> Default | |
Internal Clock | |
Ticking | |
tick -> Done? | |
Done? | |
time remaining? -> Ticking | |
## Note to implementors: Ding on this transition! | |
no time remaining? -> Default | |
Info Screen | |
Display | |
done button pressed -> Default | |
New Main Screen | |
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) { | |
return $("span", "The current state is " + model.active_states[0].name); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment