Clone in a terminal:
Commit 709ebd2
Johan Mattsson - 2026-06-01T18:33:25+00:00
709ebd29c1e67149de2a719f9543980f7251783ejohan.mattsson.m@gmail.com

Four spaces for tabs

Changed files (2)

Diff

diff --git a/.editorconfig b/.editorconfignew file mode 100644index 0000000..7ca6f9f--- /dev/null+++ b/.editorconfig@@ -0,0 +1,15 @@+root = true++[*]+indent_style = space+indent_size = 4+tab_width = 4+charset = utf-8+end_of_line = lf+trim_trailing_whitespace = true++[Makefile]+indent_style = tab++[*.md]+trim_trailing_whitespace = falsediff --git a/examples/callbacks/loader.js b/examples/callbacks/loader.jsindex 23aa5d8..5b55dcb 100644--- a/examples/callbacks/loader.js+++ b/examples/callbacks/loader.js@@ -1,18 +1,18 @@ let wasmModule;  async function loadWasm() {-  try {-    const wasmModule = await import("./main.js");-    await wasmModule.default("./main_bg.wasm");+    try {+        const wasmModule = await import("./main.js");+        await wasmModule.default("./main_bg.wasm"); -    return wasmModule;-  } catch (error) {-    console.error("Failed to load WASM module:", error);-  }+        return wasmModule;+    } catch (error) {+        console.error("Failed to load WASM module:", error);+    } -  return null;+    return null; }  window.addEventListener("DOMContentLoaded", async () => {-  wasmModule = await loadWasm();+    wasmModule = await loadWasm(); });

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112