mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 13:55:41 +01:00
Fix documentation (#2212)
This commit is contained in:
parent
d2028b1a75
commit
733d68af03
1 changed files with 4 additions and 4 deletions
|
|
@ -75,10 +75,10 @@ self.MonacoEnvironment = {
|
||||||
if (label === 'json') {
|
if (label === 'json') {
|
||||||
return './json.worker.bundle.js';
|
return './json.worker.bundle.js';
|
||||||
}
|
}
|
||||||
if (label === 'css') {
|
if (label === 'css' || label === 'scss' || label === 'less') {
|
||||||
return './css.worker.bundle.js';
|
return './css.worker.bundle.js';
|
||||||
}
|
}
|
||||||
if (label === 'html') {
|
if (label === 'html' || label === 'handlebars' || label === 'razor') {
|
||||||
return './html.worker.bundle.js';
|
return './html.worker.bundle.js';
|
||||||
}
|
}
|
||||||
if (label === 'typescript' || label === 'javascript') {
|
if (label === 'typescript' || label === 'javascript') {
|
||||||
|
|
@ -146,10 +146,10 @@ self.MonacoEnvironment = {
|
||||||
if (label === 'json') {
|
if (label === 'json') {
|
||||||
return './json.worker.js';
|
return './json.worker.js';
|
||||||
}
|
}
|
||||||
if (label === 'css') {
|
if (label === 'css' || label === 'scss' || label === 'less') {
|
||||||
return './css.worker.js';
|
return './css.worker.js';
|
||||||
}
|
}
|
||||||
if (label === 'html') {
|
if (label === 'html' || label === 'handlebars' || label === 'razor') {
|
||||||
return './html.worker.js';
|
return './html.worker.js';
|
||||||
}
|
}
|
||||||
if (label === 'typescript' || label === 'javascript') {
|
if (label === 'typescript' || label === 'javascript') {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue