Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdeel Mujahid <3840695+am11@users.noreply.github.com>2022-05-23 20:14:58 +0300
committerGitHub <noreply@github.com>2022-05-23 20:14:58 +0300
commit55e2378d86841ec766ee21d5e504d7724c39b53b (patch)
treef456bbc3391864b76a326f45e12847941685e4fb /src/mono/wasm/runtime
parent534cfe37792c2ca451fd1258097b1ff0349cc6ee (diff)
Fix typos (#69537)
* Fix typos * Fix typo: seperate -> separate * Rename ApplicationNameSetFromArgument * Update src/coreclr/vm/methodtablebuilder.cpp * Update docs/coding-guidelines/clr-code-guide.md Co-authored-by: Dan Moseley <danmose@microsoft.com> * Update src/mono/mono/tests/verifier/make_tests.sh Co-authored-by: Dan Moseley <danmose@microsoft.com> Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Diffstat (limited to 'src/mono/wasm/runtime')
-rw-r--r--src/mono/wasm/runtime/modularize-dotnet.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mono/wasm/runtime/modularize-dotnet.md b/src/mono/wasm/runtime/modularize-dotnet.md
index 0ec846fa759..37ece417721 100644
--- a/src/mono/wasm/runtime/modularize-dotnet.md
+++ b/src/mono/wasm/runtime/modularize-dotnet.md
@@ -34,7 +34,7 @@ In `src\mono\wasm\runtime\CMakeLists.txt` which links only in-tree, we use same
# dotnet.*.post.js
- Executed last (4)
- When `onRuntimeInitialized` is overriden it would wait for emscriptens `Module.ready`
-- Otherwise it would wait for for MonoVM to load all assets and assemblies.
+- Otherwise it would wait for MonoVM to load all assets and assemblies.
- It would pass on the API exports
# About new API
@@ -56,7 +56,7 @@ More complex scenario with using APIs, commented
```
import createDotnetRuntime from './dotnet.js'
-export const { MONO, BINDING } = await createDotnetRuntime(({ MONO, BINDING, Module }) =>
+export const { MONO, BINDING } = await createDotnetRuntime(({ MONO, BINDING, Module }) =>
// this is callback with no statement, the APIs are only empty shells here and are populated later.
({
disableDotnet6Compatibility: true,
@@ -67,15 +67,15 @@ export const { MONO, BINDING } = await createDotnetRuntime(({ MONO, BINDING, Mod
// Module.config is loaded and could be tweaked before application
Module.config.environment_variables["MONO_LOG_LEVEL"]="debug"
- // here we could use API passed into this callback
+ // here we could use API passed into this callback
// call some early available functions
MONO.mono_wasm_setenv("HELLO", "WORLD);
}
onDotnetReady: () => {
// Only when there is no `onRuntimeInitialized` override.
- // This is called after all assets are loaded , mapping to legacy `config.loaded_cb`.
- // It happens during emscripten `onRuntimeInitialized` after monoVm init + globalization + assemblies.
- // This also matches when the top level promise is resolved.
+ // This is called after all assets are loaded , mapping to legacy `config.loaded_cb`.
+ // It happens during emscripten `onRuntimeInitialized` after monoVm init + globalization + assemblies.
+ // This also matches when the top level promise is resolved.
// The original emscripten `Module.ready` promise is replaced with this.
// at this point both emscripten and monoVM are fully initialized.