Skip to content

Instantly share code, notes, and snippets.

@ArthurJordao
Created June 14, 2023 20:28
Show Gist options
  • Save ArthurJordao/1bcb38bc07368099fd52e1d9afc60e2e to your computer and use it in GitHub Desktop.
Save ArthurJordao/1bcb38bc07368099fd52e1d9afc60e2e to your computer and use it in GitHub Desktop.
Solteiro
Solteiro
casar -> Casado
Casado
divorciar -> Divorciado
conjuge_morreu -> Viuvo
Viuvo
casar -> Casado
Divorciado
casar -> Casado
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