forked from stringer-rss/stringer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.erb
More file actions
31 lines (29 loc) · 783 Bytes
/
index.erb
File metadata and controls
31 lines (29 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html>
<head>
<title>Stringer JavaScript Test Suite</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<%= js :application %>
<% js_files.each do |js_file| %>
<script src="<%= js_file %>"></script>
<% end %>
<% css_files.each do |css_file| %>
<link rel="stylesheet" type="text/css" href="<%= css_file%>">
<% end %>
<!-- Javascript templates -->
<% js_templates.each do |template| %>
<%= template %>
<%= render_js_template template.to_sym %>
<% end %>
</head>
<body>
<div id="mocha"></div>
<script type="text/javascript">
if(window.mochaPhantomJS) {
mochaPhantomJS.run();
} else {
mocha.run();
}
</script>
</body>
</html>