Documents serverside
This commit is contained in:
1 parent
244f1efd03
commit
864d895105
17 files changed
+528
-119
No files matched your search
@@ -0,0 +1,12 @@
|
||||
function titleCase(str) {
|
||||
return str.charAt(0).toUpperCase() + str.slice(1)
|
||||
}
|
||||
|
||||
function trim(string) {
|
||||
return string
|
||||
.replace(/^\s+/, '')
|
||||
.replace(/\s+$/, '')
|
||||
}
|
||||
|
||||
exports.titleCase = titleCase
|
||||
exports.trim = trim
|
||||
Reference in new issue
Block a user