mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 12:45:39 +01:00
fix small error in integration docs
This commit is contained in:
parent
14f6229243
commit
046a04289b
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ Assuming the HTML lives on `www.mydomain.com` and the editor is hosted on `www.m
|
||||||
getWorkerUrl: function(workerId, label) {
|
getWorkerUrl: function(workerId, label) {
|
||||||
return `data:text/javascript;charset=utf-8,${encodeURIComponent(`
|
return `data:text/javascript;charset=utf-8,${encodeURIComponent(`
|
||||||
self.MonacoEnvironment = {
|
self.MonacoEnvironment = {
|
||||||
baseUrl: 'http://www.mycdn.com/monaco-editor/min/vs'
|
baseUrl: 'http://www.mycdn.com/monaco-editor/min/'
|
||||||
};
|
};
|
||||||
importScripts('http://www.mycdn.com/monaco-editor/min/vs/base/worker/workerMain.js');`
|
importScripts('http://www.mycdn.com/monaco-editor/min/vs/base/worker/workerMain.js');`
|
||||||
)}`;
|
)}`;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue