Created
May 12, 2020 03:32
-
-
Save amazzalel-habib/43f23292d1f657cc97ec2d4e4ea5b4a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(window as any).MonacoEnvironment = { | |
getWorkerUrl: function (moduleId, label) { | |
if (label === languageID) | |
return "./todoLangWorker.js"; | |
return './editor.worker.js'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment