mirror of https://gitee.com/bigwinds/arangodb
jslint
This commit is contained in:
parent
494764b95c
commit
05cbc5a9ec
|
@ -50,7 +50,7 @@ function getReadableName (name) {
|
|||
.replace(/([a-z])([A-Z])/g, (m) => `${m[0]} ${m[1]}`)
|
||||
.replace(/([A-Z])([A-Z][a-z])/g, (m) => `${m[0]} ${m[1]}`)
|
||||
.replace(/\s([a-z])/g, (m) => ` ${m[1].toUpperCase()}`);
|
||||
return readable.charAt(0).toUpperCase() + readable.substr(1)
|
||||
return readable.charAt(0).toUpperCase() + readable.substr(1);
|
||||
}
|
||||
|
||||
function getStorage () {
|
||||
|
|
Loading…
Reference in New Issue