fix(client) route: strBigFirst -> kebabToCamelCase

This commit is contained in:
coderaiser 2017-03-24 16:03:15 +02:00
parent 2e4c1dfe4d
commit 8249756bcf
2 changed files with 6 additions and 9 deletions

View file

@ -185,7 +185,7 @@ function UtilProto(exec) {
if (!str)
throw Error('str could not be empty!');
var first = str[0].toUpperCase();
const first = str[0].toUpperCase();
return first + str.slice(1);
}