Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix for dist

  • Loading branch information...
commit 583cf8aff35f6546277dff04b9f53d0ed780ca6f 1 parent 111ad84
@lepture lepture authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 templates/snippet/head.html
View
6 templates/snippet/head.html
@@ -42,9 +42,6 @@
{%- set src = src_files %}
{%- set dist = dist_files %}
-{% for file in dist.js %}
-<script src="{{content_url('')}}dist/{{file}}"></script>
-{%- endfor %}
{%- for file in dist.css %}
<link rel="stylesheet" href="{{content_url('')}}dist/{{file}}" />
{%- endfor %}
@@ -56,6 +53,9 @@
if (contain(query, 'dist')) {
srcdir = 'dist';
+ {% for file in dist.js %}
+ seajs.use("{{content_url('')}}dist/{{file}}");
+ {%- endfor %}
} else if (contain(query, 'cov')) {
srcdir = 'src-cov';
}
Please sign in to comment.
Something went wrong with that request. Please try again.