mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
Adds support for both quotes in the TS side
This commit is contained in:
parent
2a996151d7
commit
c09657381e
1 changed files with 5 additions and 0 deletions
|
|
@ -196,6 +196,11 @@ function addPluginContribs(type) {
|
||||||
`define('vs/language/json/fillers/monaco-editor-core',[],`,
|
`define('vs/language/json/fillers/monaco-editor-core',[],`,
|
||||||
`define('vs/language/json/fillers/monaco-editor-core',['vs/editor/editor.api'],`,
|
`define('vs/language/json/fillers/monaco-editor-core',['vs/editor/editor.api'],`,
|
||||||
);
|
);
|
||||||
|
// You can find both types of quotes in the TypeScript files
|
||||||
|
contribContents = contribContents.replace(
|
||||||
|
`define("vs/language/typescript/fillers/monaco-editor-core",[],`,
|
||||||
|
`define("vs/language/typescript/fillers/monaco-editor-core",['vs/editor/editor.api'],`,
|
||||||
|
);
|
||||||
contribContents = contribContents.replace(
|
contribContents = contribContents.replace(
|
||||||
`define('vs/language/typescript/fillers/monaco-editor-core',[],`,
|
`define('vs/language/typescript/fillers/monaco-editor-core',[],`,
|
||||||
`define('vs/language/typescript/fillers/monaco-editor-core',['vs/editor/editor.api'],`,
|
`define('vs/language/typescript/fillers/monaco-editor-core',['vs/editor/editor.api'],`,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue