public/javascripts/vendor/javascripts/ember.js
function(str) {
    return str.replace(STRING_CAMELIZE_REGEXP, function(match, separator, chr) {
      return chr ? chr.toUpperCase() : '';
    });
  }
function(str) {
    return str.replace(STRING_CAMELIZE_REGEXP, function(match, separator, chr) {
      return chr ? chr.toUpperCase() : '';
    });
  }
function ( str ) { return str . replace ( STRING_CAMELIZE_REGEXP , function ( match , separator , chr ) { return chr ? chr . toUpperCase ( ) : '' ; } ) ; }
Returns the lowerCaseCamel form of a string.

'innerHTML'.camelize()         => 'innerHTML'
'action_name'.camelize()       => 'actionName'
'css-class-name'.camelize()    => 'cssClassName'
'my favorite items'.camelize() => 'myFavoriteItems'

@param {String} str
The string to camelize.

@returns {String} the camelized string.
Returns the lowerCaseCamel form of a string .