Skip to content

Instantly share code, notes, and snippets.

@depoulo
Last active June 19, 2019 13:16
Show Gist options
  • Save depoulo/98bdaaac8587838be4ab11f28ff7d761 to your computer and use it in GitHub Desktop.
Save depoulo/98bdaaac8587838be4ab11f28ff7d761 to your computer and use it in GitHub Desktop.
if(window.eComEventTarget){window.eComEventTarget.addEventListener('order:completed',function(event){console.log('order completed:',event.detail)})}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment