Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #27 from Shopify/move-giftcard-js
Browse files Browse the repository at this point in the history
updated giftcard.js
  • Loading branch information
stevebosworth authored Oct 20, 2016
2 parents 16f2874 + 255bd39 commit 38e90df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/layout/gift_card.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<!--[if (gt IE 9)|!(IE)]><!--><script src="{{ 'vendor.js' | asset_url }}" defer="defer"></script><!--<![endif]-->
<!--[if lt IE 9]><script src="{{ 'vendor.js' | asset_url }}"></script><![endif]-->

<!--[if (gt IE 9)|!(IE)]><!--><script src="{{ 'theme.js' | asset_url }}" defer="defer"></script><!--<![endif]-->
<!--[if lt IE 9]><script src="{{ 'theme.js' | asset_url }}"></script><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><script src="{{ 'giftcard.js' | asset_url }}" defer="defer"></script><!--<![endif]-->
<!--[if lt IE 9]><script src="{{ 'giftcard.js' | asset_url }}"></script><![endif]-->

{{ content_for_header }}
</head>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
* A file that contains scripts highly couple code to the Gift Card template.
*/

theme.giftCard = (function() {
if (!$('body').hasClass('template-giftcard')) {
return;
}

(function() {
var config = {
qrCode: '#QrCode',
printButton: '#PrintGiftCard',
Expand Down

0 comments on commit 38e90df

Please sign in to comment.