mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
an extra \ snuck in compared to origina ldeleted function
This commit is contained in:
parent
29bed5adbd
commit
7a8774bafd
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 = {
|
||||
'MonacoEnvironment': `(function (paths) {
|
||||
function stripTrailingSlash(str) {
|
||||
return str.replace(/\\/$/, '');
|
||||
return str.replace(/\/$/, '');
|
||||
}
|
||||
return {
|
||||
getWorkerUrl: function (moduleId, label) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue