lib/middleware/jng.utils.js
function dotToCamelCase(name) {
    if (!name) { return name; }

    if (name.substring(name.length - 3) === '.js') {
        name = name.substring(0, name.length - 3);
    }

    name = name.toLowerCase();
    var parts = name.split('.');

    name = parts[0];
    for (var i = 1; i < parts.length; i++) {
        name += parts[i].substring(0, 1).toUpperCase() + parts[i].substring(1);
    }

    return name;
}
function dotToCamelCase(name) {
    if (!name) { return name; }

    if (name.substring(name.length - 3) === '.js') {
        name = name.substring(0, name.length - 3);
    }

    name = name.toLowerCase();
    var parts = name.split('.');

    name = parts[0];
    for (var i = 1; i < parts.length; i++) {
        name += parts[i].substring(0, 1).toUpperCase() + parts[i].substring(1);
    }

    return name;
}
function dotToCamelCase ( name ) { if ( ! name ) { return name ; } if ( name . substring ( name . length - 3 ) === '.js' ) { name = name . substring ( 0 , name . length - 3 ) ; } name = name . toLowerCase ( ) ; var parts = name . split ( '.' ) ; name = parts [ 0 ] ; for ( var i = 1 ; i < parts . length ; i ++ ) { name += parts [ i ] . substring ( 0 , 1 ) . toUpperCase ( ) + parts [ i ] . substring ( 1 ) ; } return name ; }
Convert a name with dot delim to camel case and remove any .js
@param name
Convert a name with dot delim to camel case and remove any . js