Commit 35be4ba8 authored by qorri_di's avatar qorri_di

Merge branch 'ENV-DEV' into 'ENV-DEPLOYMENT'

penambahan pada utils.js

See merge request !1629
parents 0336cf03 3e6690e3
...@@ -2,7 +2,7 @@ export function titleCase(text) { ...@@ -2,7 +2,7 @@ export function titleCase(text) {
var value = String(text).replace(/\./g, ' ') var value = String(text).replace(/\./g, ' ')
.replace(/\s/g, ' ') .replace(/\s/g, ' ')
.replace(/^(.)/, function($1) { return $1.toUpperCase(); }) .replace(/^(.)/, function($1) { return $1.toUpperCase(); })
// .replace(/\s(.)/g, function($1) { return $1.toUpperCase(); }) // .replace(/\s(.)/g, function($1) { return $1.toUpperCase(); })
return value return value
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment