lib/libs.js
function camelize () {
                    var ret = [];
                    libs.object.every(arguments, function (s) {
                        if(s) {
                            if(typeof s === 'function') s = fixFirefoxFunctionString(s.toString());
                            s = s.toString().replace(/[^a-z0-9$]/gi, '_').replace(/\$(\w)/g, '$_$1').split(/[\s_]+/g);
                            libs.object.each(s, 1, s.length, function (i, k) {
                                this[k] = libs.string.ucFirst(i);
                            });
                            s = libs.string.lcFirst(s.join(''));
                        }
                        ret.push(s);
                    });
                    return ret.length === 1 ? ret[0] : ret;
                }
function camelize () {
                    var ret = [];
                    libs.object.every(arguments, function (s) {
                        if(s) {
                            if(typeof s === 'function') s = fixFirefoxFunctionString(s.toString());
                            s = s.toString().replace(/[^a-z0-9$]/gi, '_').replace(/\$(\w)/g, '$_$1').split(/[\s_]+/g);
                            libs.object.each(s, 1, s.length, function (i, k) {
                                this[k] = libs.string.ucFirst(i);
                            });
                            s = libs.string.lcFirst(s.join(''));
                        }
                        ret.push(s);
                    });
                    return ret.length === 1 ? ret[0] : ret;
                }
function camelize ( ) { var ret = [ ] ; libs . object . every ( arguments , function ( s ) { if ( s ) { if ( typeof s === 'function' ) s = fixFirefoxFunctionString ( s . toString ( ) ) ; s = s . toString ( ) . replace ( / [^a-z0-9$] / gi , '_' ) . replace ( / \$(\w) / g , '$_$1' ) . split ( / [\s_]+ / g ) ; libs . object . each ( s , 1 , s . length , function ( i , k ) { this [ k ] = libs . string . ucFirst ( i ) ; } ) ; s = libs . string . lcFirst ( s . join ( '' ) ) ; } ret . push ( s ) ; } ) ; return ret . length === 1 ? ret [ 0 ] : ret ; }
Camelizes all of the provided string arguments.
@param {...String} string A list of strings to camelize.
@return {Array<String>} An array of the provided arguments, with all strings camelized.
Camelizes all of the provided string arguments .