Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #328 from Shopify/customer-js
Browse files Browse the repository at this point in the history
Move customer js back to top of file
  • Loading branch information
cshold committed Feb 11, 2015
2 parents 6c98244 + 774dd46 commit 640a18d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions layout/theme.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@
{{ '//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js' | script_tag }}
{{ 'modernizr.min.js' | asset_url | script_tag }}

{% comment %}
If you store has customer accounts disabled, you can remove the following JS file
{% endcomment %}
{% if template contains 'customers' %}
{{ 'shopify_common.js' | shopify_asset_url | script_tag }}
{% endif %}

</head>

{% comment %}
Expand Down Expand Up @@ -200,13 +207,6 @@
</script>
{% endif %}

{% comment %}
If you store has customer accounts disabled, you can remove the following JS file
{% endcomment %}
{% if template contains 'customers' %}
{{ 'shopify_common.js' | shopify_asset_url | script_tag }}
{% endif %}

{{ 'fastclick.min.js' | asset_url | script_tag }}

</body>
Expand Down

0 comments on commit 640a18d

Please sign in to comment.