Skip to content

Instantly share code, notes, and snippets.

@vibin
Last active September 26, 2018 11:33
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 vibin/c894a1f53b9a07b1ceb51542b79b703c to your computer and use it in GitHub Desktop.
Save vibin/c894a1f53b9a07b1ceb51542b79b703c to your computer and use it in GitHub Desktop.
Product Page
Product Page
Catalog Reviews
rating distribution
top review images
top reviews
view -> Reviews List
Supplier Reviews
catalog reviews empty state
view -> Reviews List
No Reviews
catalog & supplier reviews empty state
Reviews 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