浏览代码

Merge pull request #957 from cancerberoSgx/install-instructions-fix

fix small error in integration docs
Alexandru Dima 7 年之前
父节点
当前提交
1dd1bd085b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/integrate-amd-cross.md

+ 1 - 1
docs/integrate-amd-cross.md

@@ -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');`
       )}`;
       )}`;