Skip to content

Instantly share code, notes, and snippets.

@jackfranklin
Created April 24, 2018 14:53
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 jackfranklin/09d24e937cc177d652f6b2d0095c55a1 to your computer and use it in GitHub Desktop.
Save jackfranklin/09d24e937cc177d652f6b2d0095c55a1 to your computer and use it in GitHub Desktop.
function setupClickAndCollect(divToRenderIn, apiKey, onStoreChange) {
// code omitted to save space
parcelpoint.Property.onChange(['storeDetails'], function(_, newDetails) {
onStoreChange(newDetails)
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment