20aebec1fd
Putting scripts as the last item before the closing body tag is these days probably the most common approach to loading scripts in a page, so the jasmine template should arguably follow this convention. Also this means setup scripts within my src that assume body is present and which run before any specs do will not throw an error
19 lines
422 B
Cheetah
19 lines
422 B
Cheetah
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Jasmine Spec Runner</title>
|
|
<% css.forEach(function(style){ %>
|
|
<link rel="stylesheet" type="text/css" href="<%= style %>">
|
|
<% }) %>
|
|
|
|
</head>
|
|
<body>
|
|
<% with (scripts) { %>
|
|
<% [].concat(polyfills, jasmine, boot, vendor, helpers, src, specs,reporters).forEach(function(script){ %>
|
|
<script src="<%= script %>"></script>
|
|
<% }) %>
|
|
<% }; %>
|
|
</body>
|
|
</html>
|