Skip to content

Instantly share code, notes, and snippets.

@frankitox
Created April 22, 2020 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frankitox/f1f43ed5335758d8dd15e4587cb8e381 to your computer and use it in GitHub Desktop.
Save frankitox/f1f43ed5335758d8dd15e4587cb8e381 to your computer and use it in GitHub Desktop.
Order
Order
Fetching
fetched -> List
fetching-error -> List
List
resend-confirmation -> ResendingConfirmation
download -> Downloading
refund -> ConfirmRefund
ResendingConfirmation
resend-confirmation -> ResendConfirmationSuccess
ResendConfirmationSuccess
resend-confirmation-success -> List
Downloading
cancel-download -> List
complete-download -> List
ConfirmRefund
really-refund -> Refunding
cancel-refund -> List
Refunding
refunded -> List
refund-error -> List
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