2987b507f85d17140b4e2cb3323912794c83d4d7
[platform/framework/web/crosswalk-tizen.git] /
1 define(['../lang/toString', './lowerCase', './upperCase'], function(toString, lowerCase, upperCase){
2     /**
3      * UPPERCASE first char of each word.
4      */
5     function properCase(str){
6         str = toString(str);
7         return lowerCase(str).replace(/^\w|\s\w/g, upperCase);
8     }
9
10     return properCase;
11 });