lib/express-load.js
function createNamespace(parent, parts) {

  var part = getName(parts.shift());

  if (!parent[part]) {
    parent[part] = {};
  }

  if (parts.length) {
    parent = createNamespace(parent[part], parts);
  }

  return parent;
}
function createNamespace(parent, parts) {

  var part = getName(parts.shift());

  if (!parent[part]) {
    parent[part] = {};
  }

  if (parts.length) {
    parent = createNamespace(parent[part], parts);
  }

  return parent;
}
function createNamespace ( parent , parts ) { var part = getName ( parts . shift ( ) ) ; if ( ! parent [ part ] ) { parent [ part ] = { } ; } if ( parts . length ) { parent = createNamespace ( parent [ part ] , parts ) ; } return parent ; }
Create Namespace function - creates a namespace map.

@param parent {Object} Current register.
@param parts {Array} Namespace location map.
@return parent {Object} current namespace.
Create Namespace function - creates a namespace map .