Skip to content

Commit

Permalink
Fix the defaultWasm
Browse files Browse the repository at this point in the history
  • Loading branch information
rexim committed Feb 17, 2024
1 parent e85c597 commit 5fe244f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@
<canvas id="game"></canvas>
<script>
const wasmPaths = {
"tsoding": ["tsoding_ball","tsoding_snake",],
"tsoding": ["tsoding_ball", "tsoding_snake",],
"core": ["core_basic_window", "core_basic_screen_manager", "core_input_keys", "core_input_mouse_wheel",],
"shapes": ["shapes_colors_palette"],
"text": ["text_writing_anim"],
"textures": ["textures_logo_raylib"],
}
const defaultWasm = Object.values(wasmPaths)[0];
const defaultWasm = Object.values(wasmPaths)[0][0];

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

Expand Down

0 comments on commit 5fe244f

Please sign in to comment.