Skip to content

Commit

Permalink
Add script tag to expose shop location object in home hbs view - ref #51
Browse files Browse the repository at this point in the history
  • Loading branch information
macintoshhelper committed May 3, 2017
1 parent 0c739bd commit 4de5bec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/views/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@
<h3 class="tag-line">Shopping Simplified.</h3>
<a id="loadLink" href="/card?ajax=true"><img class="visa-img" src="assets/images/visa.png" alt="Add your card">
</a>

<script>
var shopCoordinates = {{{shopCoordinates}}};
</script>

0 comments on commit 4de5bec

Please sign in to comment.