Skip to content

Instantly share code, notes, and snippets.

@schalkventer
Created November 29, 2021 16:03
Show Gist options
  • Save schalkventer/bb20722d34605ce8815334680c431606 to your computer and use it in GitHub Desktop.
Save schalkventer/bb20722d34605ce8815334680c431606 to your computer and use it in GitHub Desktop.
settings&
settings&
general
general-loading*
RESOLVE_GENERAL -> general-resting
general-resting
GENERAL_CUSTOM -> general-trackers
general-trackers
GENERAL_CLOSE -> general-resting
invoices
invoices-loading*
RESOLVE_INVOICES -> invoices-resting
invoices-resting
SELECT -> invoices-download
invoices-download
CLOSE -> invoices
invoices-download-processing*
RESOLVE -> invoices-download-ready
invoices-download-ready
DOWNLOAD -> invoices-resting
subscription
subscription-loading
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