define(['../lang/toString','./lowerCase','./upperCase'],function(toString,lowerCase,upperCase){/** * UPPERCASE first char of each word. */functionproperCase(str){str=toString(str);returnlowerCase(str).replace(/^\w|\s\w/g,upperCase);}returnproperCase;});