From b15b25a4f14d5fa06ccb93722996fe740613cf3d Mon Sep 17 00:00:00 2001 From: snoppy Date: Sat, 16 Mar 2024 16:31:44 +0800 Subject: [PATCH] fix typos --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 04b12231..1e209938 100644 --- a/README.md +++ b/README.md @@ -319,7 +319,7 @@ var output = translate.prettyPrintLegacyAssemblyJSON(assemblyJSON, sourceCode) ## Browser Usage Compilation is generally a long-running and resource intensive task that cannot reasonably be performed in the main thread of the browser. -Some browsers even dissallow synchronous compilation on the main thread if the module is larger than 4KB. +Some browsers even disallow synchronous compilation on the main thread if the module is larger than 4KB. Thus, the only supported way to use `solc` in a web browser is through a [web worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers). ### Loading solc with web workers