build/authorify.js
function getModuleName(module) {
    var script = module.replace(/[^a-zA-Z0-9]/g, '.'),
        parts = script.split('.'),
        name = parts.shift();

    if (parts.length) {
      for (var p in parts) {
        name += parts[p].charAt(0).toUpperCase() + parts[p].substr(1, parts[p].length);
      }
    }
    return name;
  }
function getModuleName(module) {
    var script = module.replace(/[^a-zA-Z0-9]/g, '.'),
        parts = script.split('.'),
        name = parts.shift();

    if (parts.length) {
      for (var p in parts) {
        name += parts[p].charAt(0).toUpperCase() + parts[p].substr(1, parts[p].length);
      }
    }
    return name;
  }
function getModuleName ( module ) { var script = module . replace ( / [^a-zA-Z0-9] / g , '.' ) , parts = script . split ( '.' ) , name = parts . shift ( ) ; if ( parts . length ) { for ( var p in parts ) { name += parts [ p ] . charAt ( 0 ) . toUpperCase ( ) + parts [ p ] . substr ( 1 , parts [ p ] . length ) ; } } return name ; }
Formats the name of the module loaded into the browser

@param module {String} The original module name
@return {String} Name of the module
@private
@ignore
Formats the name of the module loaded into the browser