{"size": 705, "ext": "js", "max_stars_repo_path": "index.js", "max_stars_repo_name": "kldit/util-first-char-case", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "index.js", "max_issues_repo_name": "kldit/util-first-char-case", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "index.js", "max_forks_repo_name": "kldit/util-first-char-case", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.03125, "max_line_length": 67, "alphanum_fraction": 0.5035460993}
/**
 * @author Orlando Leite
 *
 * util functions
 */
if(!String.prototype.firstCharToLowerCase)
{
    Object.defineProperty(String.prototype, 'firstCharToLowerCase',
    {
        enumerable: false,
        value: function ()
        {
            if( this.length > 0 )
                return this[0].toLowerCase() + this.substring(1);
            else
                return "";
        }
    });

    Object.defineProperty(String.prototype, 'firstCharToUpperCase',
    {
        enumerable: false,
        value: function (str)
        {
            if( this.length > 0 )
                return this[0].toUpperCase() + this.substring(1);
            else
                return "";
        }
    });
}
