Skip to content

Commit 2cb667d

Browse files
committed
Merge pull request #65 from larsonjj/master
Fix AMD loading issues for Vendor and Helper Scripts
2 parents 871eed2 + 5ceb9be commit 2cb667d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/templates/jasmine-requirejs.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
<% css.forEach(function(style){ %>
88
<link rel="stylesheet" type="text/css" href="<%= style %>">
99
<% }) %>
10+
11+
<% with (scripts) { %>
12+
<% [].concat(jasmine, boot, vendor, helpers).forEach(function(script){ %>
13+
<script src="<%= script %>"></script>
14+
<% }) %>
15+
<% }; %>
1016

1117
<script src="<%= temp %>/require.js"></script>
1218
<script>
@@ -22,12 +28,6 @@
2228
};
2329
</script>
2430

25-
<% with (scripts) { %>
26-
<% [].concat(jasmine, boot, vendor, helpers).forEach(function(script){ %>
27-
<script src="<%= script %>"></script>
28-
<% }) %>
29-
<% }; %>
30-
3131
<script>
3232
<% if (options.mainRequireConfig) { %>
3333
require.config(<%= serializeRequireConfig(options.mainRequireConfig) %>);

0 commit comments

Comments
 (0)