Skip to content

Commit 2eb6c18

Browse files
committed
Use <script type=module>
1 parent ef7f33a commit 2eb6c18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
margin: 0;
88
padding: 0;
99
overflow: hidden;
10+
background: black;
1011
}
1112

1213
canvas {
@@ -17,4 +18,4 @@
1718
</style>
1819
</head>
1920
<canvas id="screen"></canvas>
20-
<script src="index.js"></script>
21+
<script type="module" src="index.js"></script>

0 commit comments

Comments
 (0)