mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
rename parameter string to str purely to prevent confusion
This commit is contained in:
parent
b6b4422ab4
commit
29bed5adbd
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
|
@ -91,8 +91,8 @@ function createLoaderRules(languages, features, workers, publicPath) {
|
|||
|
||||
const globals = {
|
||||
'MonacoEnvironment': `(function (paths) {
|
||||
function stripTrailingSlash(string) {
|
||||
return string.replace(/\\/$/, '');
|
||||
function stripTrailingSlash(str) {
|
||||
return str.replace(/\\/$/, '');
|
||||
}
|
||||
return {
|
||||
getWorkerUrl: function (moduleId, label) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue