Skip to content

Commit

Permalink
chore: upgrade manoca editor loader version
Browse files Browse the repository at this point in the history
* fix: upgrade manoca editor loader version

Due to manoca-editor is 0.38.0, so upgrade loader version

* fix: update paths version
  • Loading branch information
CasoMemory authored May 15, 2024
1 parent 1b99e0e commit 75df695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/initEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,11 @@ export const startUp = () => {
if (execed) return;
execed = true;
loadScript(
'https://g.alicdn.com/code/lib/monaco-editor/0.31.1/min/vs/loader.min.js',
'https://g.alicdn.com/code/lib/monaco-editor/0.38.0/min/vs/loader.min.js',
() => {
window.require.config({
paths: {
vs: 'https://g.alicdn.com/code/lib/monaco-editor/0.31.1/min/vs',
vs: 'https://g.alicdn.com/code/lib/monaco-editor/0.38.0/min/vs',
},
});

Expand Down

0 comments on commit 75df695

Please sign in to comment.