aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-10-27 09:08:29 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2025-10-27 09:08:29 +0100
commit0f1a6883b6fac86c9fed8ab1dfb91b238d9d1a94 (patch)
tree8ea000cbca60a4d477ca8b9ba46a3bf6967a2e4b
parent7f46cd5102a29e84bf9d9d0939311e87f072d58d (diff)
downloadsebastiano.tronto.net-0f1a6883b6fac86c9fed8ab1dfb91b238d9d1a94.tar.gz
sebastiano.tronto.net-0f1a6883b6fac86c9fed8ab1dfb91b238d9d1a94.zip
Fix a couple of typos
-rw-r--r--src/blog/2025-06-06-webdev/webdev.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blog/2025-06-06-webdev/webdev.md b/src/blog/2025-06-06-webdev/webdev.md
index 6b049e5..50b14d9 100644
--- a/src/blog/2025-06-06-webdev/webdev.md
+++ b/src/blog/2025-06-06-webdev/webdev.md
@@ -275,8 +275,8 @@ console.log("The answer is " + result);
275but not, for example when running in a browser. We'll see in the next 275but not, for example when running in a browser. We'll see in the next
276session what to do in that case, but for now let's stick to this.)* 276session what to do in that case, but for now let's stick to this.)*
277 277
278Unfortunately, this will not work for a couple of reasons. The reason 278Unfortunately, this will not work for a couple of reasons. The first
279first is that Emscripten is going to add an underscore `_` to all our 279reason is that Emscripten is going to add an underscore `_` to all our
280function names; so we'll have to call `library._multiply()`. But this 280function names; so we'll have to call `library._multiply()`. But this
281still won't work, because by default the compiler does not *export* all 281still won't work, because by default the compiler does not *export* all
282the functions in your code - that is, it does not make them visible to 282the functions in your code - that is, it does not make them visible to
@@ -1061,7 +1061,7 @@ function that, directly or indirectly, calls an async JavaScript
1061function, will now return a 1061function, will now return a
1062[promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) 1062[promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)
1063when called from JavaScript. But wether an async function is called is 1063when called from JavaScript. But wether an async function is called is
1064determined at runtime, so you C function may return a value one time 1064determined at runtime, so your C function may return a value one time
1065and a promise another time, depending on how exactly it runs!* 1065and a promise another time, depending on how exactly it runs!*
1066 1066
1067So we are going to add `--pre-js init_idbfs.js` to our compiler options, 1067So we are going to add `--pre-js init_idbfs.js` to our compiler options,

Generated with cgit - Back to sebastiano.tronto.net