Skip to content

Commit 5fe244f

Browse files
committed
Fix the defaultWasm
1 parent e85c597 commit 5fe244f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@
6767
<canvas id="game"></canvas>
6868
<script>
6969
const wasmPaths = {
70-
"tsoding": ["tsoding_ball","tsoding_snake",],
70+
"tsoding": ["tsoding_ball", "tsoding_snake",],
7171
"core": ["core_basic_window", "core_basic_screen_manager", "core_input_keys", "core_input_mouse_wheel",],
7272
"shapes": ["shapes_colors_palette"],
7373
"text": ["text_writing_anim"],
7474
"textures": ["textures_logo_raylib"],
7575
}
76-
const defaultWasm = Object.values(wasmPaths)[0];
76+
const defaultWasm = Object.values(wasmPaths)[0][0];
7777

7878
const raylibExampleSelect = document.getElementById("raylib-example-select");
7979

0 commit comments

Comments
 (0)