|
@@ -82,7 +82,7 @@ If you are hosting your `.js` on a different domain (e.g. on a CDN) than the HTM
|
|
|
|
|
|
// Before loading vs/editor/editor.main, define a global MonacoEnvironment that overwrites
|
|
|
// the default worker url location (used when creating WebWorkers). The problem here is that
|
|
|
- // HTML5 does not allow cross-domain web workers, so we need to proxy the instantion of
|
|
|
+ // HTML5 does not allow cross-domain web workers, so we need to proxy the instantiation of
|
|
|
// a web worker through a same-domain script
|
|
|
window.MonacoEnvironment = {
|
|
|
getWorkerUrl: function(workerId, label) {
|