mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
nvm string syntax. oops
This commit is contained in:
parent
7a8774bafd
commit
fa97cf3a83
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -92,7 +92,7 @@ function createLoaderRules(languages, features, workers, publicPath) {
|
||||||
const globals = {
|
const globals = {
|
||||||
'MonacoEnvironment': `(function (paths) {
|
'MonacoEnvironment': `(function (paths) {
|
||||||
function stripTrailingSlash(str) {
|
function stripTrailingSlash(str) {
|
||||||
return str.replace(/\/$/, '');
|
return str.replace(/\\/$/, '');
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
getWorkerUrl: function (moduleId, label) {
|
getWorkerUrl: function (moduleId, label) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue