Skip to content

Commit e1276fc

Browse files
author
Paul Wittmann
committed
Examples: add doctype, move <script> inside body to please HTML
validator.
1 parent 2bc1a1d commit e1276fc

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

examples/async/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
<!DOCTYPE html>
12
<html>
23
<head>
34
<title>Redux async example</title>
45
</head>
56
<body>
67
<div id="root">
78
</div>
9+
<script src="/static/bundle.js"></script>
810
</body>
9-
<script src="/static/bundle.js"></script>
1011
</html>

examples/counter/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
<!DOCTYPE html>
12
<html>
23
<head>
34
<title>Redux counter example</title>
45
</head>
56
<body>
67
<div id="root">
78
</div>
9+
<script src="/static/bundle.js"></script>
810
</body>
9-
<script src="/static/bundle.js"></script>
1011
</html>

examples/real-world/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
<!DOCTYPE html>
12
<html>
23
<head>
34
<title>Redux real-world example</title>
45
</head>
56
<body>
67
<div id="root">
78
</div>
9+
<script src="/static/bundle.js"></script>
810
</body>
9-
<script src="/static/bundle.js"></script>
1011
</html>

examples/todomvc/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
<!DOCTYPE html>
12
<html>
23
<head>
34
<title>Redux TodoMVC example</title>
45
</head>
56
<body>
67
<div class="todoapp" id="root">
78
</div>
9+
<script src="/static/bundle.js"></script>
810
</body>
9-
<script src="/static/bundle.js"></script>
1011
</html>

0 commit comments

Comments
 (0)