Skip to content

Commit cd54f3e

Browse files
committed
Fix error reporting for the runner if body isn't defined
1 parent e6b22dc commit cd54f3e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

index.html.erb

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<html>
33
<head>
44
<title>Opal Browser - RSpec Runner</title>
5-
5+
</head>
6+
<body>
67
<script>
78
window.onerror = function(msg, url, line) {
89
var error = document.createElement("div");
@@ -18,8 +19,6 @@
1819
<script src="spec/wgxpath.install.js"></script>
1920

2021
<%= javascript_include_tag @server.main %>
21-
</head>
22-
<body>
2322
</body>
2423
</html>
2524

0 commit comments

Comments
 (0)