html5 templates
This commit is contained in:
parent
e1fc9c1c07
commit
e3e225cdb9
@ -1,21 +1,17 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Jasmine Spec Runner</title>
|
||||
|
||||
<% css.forEach(function(style){ %>
|
||||
<% css.forEach(function(style){ %>
|
||||
<link rel="stylesheet" type="text/css" href="<%= style %>">
|
||||
<% }) %>
|
||||
|
||||
<% }) %>
|
||||
<% with (scripts) { %>
|
||||
<% [].concat(jasmine, vendor, helpers, src, specs, reporters, start).forEach(function(script){ %>
|
||||
<script type="text/javascript" src="<%= script %>"></script>
|
||||
<script src="<%= script %>"></script>
|
||||
<% }) %>
|
||||
<% }; %>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,26 +1,22 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Jasmine Spec Runner</title>
|
||||
|
||||
<script src="<%= options.requirejs %>"></script>
|
||||
<script>
|
||||
require.config({
|
||||
baseUrl : '<%= options.baseUrl %>'
|
||||
});
|
||||
</script>
|
||||
|
||||
<% css.forEach(function(style){ %>
|
||||
<link rel="stylesheet" type="text/css" href="<%= style %>">
|
||||
<% }) %>
|
||||
|
||||
<% with (scripts) { %>
|
||||
<% [].concat(jasmine, vendor, helpers).forEach(function(script){ %>
|
||||
<script type="text/javascript" src="<%= script %>"></script>
|
||||
<script src="<%= script %>"></script>
|
||||
<% }) %>
|
||||
<% }; %>
|
||||
|
||||
<script>
|
||||
require([
|
||||
<% scripts.src.forEach(function(script, i){ %>
|
||||
@ -36,9 +32,7 @@
|
||||
}
|
||||
)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user