mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +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 = {
|
const globals = {
|
||||||
'MonacoEnvironment': `(function (paths) {
|
'MonacoEnvironment': `(function (paths) {
|
||||||
function stripTrailingSlash(string) {
|
function stripTrailingSlash(str) {
|
||||||
return string.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