lib/core/application.js
function getComponentConfiguration(name) {
    var config = {};
    if (typeof projectConfig[name] === 'object') {
      config = projectConfig[name];
    }
    if (typeof componentConfig[name] === 'object') {
      if (config == null) config = {};
      config = util.extend(true, config, componentConfig[name]);
    }
    if (typeof appConfig[name] === 'object') {
      if (config == null) config = {};
      config = util.extend(true, config, appConfig[name]);
    }
    function ref(obj, str) {
      return str.split(".").reduce(function(o, x) {
        return o[x]
      }, obj);
    }

    if (config == null) {  // if it's null, we search for inner dotted configs.
      try {
        config = ref(projectConfig, name);
      } catch (e) {
      }
      try {
        config = util.extend(true, config || {}, ref(appConfig, name));
      } catch (e) {
      }
    }
    return config;
  }
function getComponentConfiguration(name) {
    var config = {};
    if (typeof projectConfig[name] === 'object') {
      config = projectConfig[name];
    }
    if (typeof componentConfig[name] === 'object') {
      if (config == null) config = {};
      config = util.extend(true, config, componentConfig[name]);
    }
    if (typeof appConfig[name] === 'object') {
      if (config == null) config = {};
      config = util.extend(true, config, appConfig[name]);
    }
    function ref(obj, str) {
      return str.split(".").reduce(function(o, x) {
        return o[x]
      }, obj);
    }

    if (config == null) {  // if it's null, we search for inner dotted configs.
      try {
        config = ref(projectConfig, name);
      } catch (e) {
      }
      try {
        config = util.extend(true, config || {}, ref(appConfig, name));
      } catch (e) {
      }
    }
    return config;
  }
function getComponentConfiguration ( name ) { var config = { } ; if ( typeof projectConfig [ name ] === 'object' ) { config = projectConfig [ name ] ; } if ( typeof componentConfig [ name ] === 'object' ) { if ( config == null ) config = { } ; config = util . extend ( true , config , componentConfig [ name ] ) ; } if ( typeof appConfig [ name ] === 'object' ) { if ( config == null ) config = { } ; config = util . extend ( true , config , appConfig [ name ] ) ; } function ref ( obj , str ) { return str . split ( "." ) . reduce ( function ( o , x ) { return o [ x ] } , obj ) ; } if ( config == null ) { // if it's null, we search for inner dotted configs. try { config = ref ( projectConfig , name ) ; } catch ( e ) { } try { config = util . extend ( true , config || { } , ref ( appConfig , name ) ) ; } catch ( e ) { } } return config ; }
Returns the configuration object of a previously registered  component or null if either the componet was found or it has no configuration attached.
@function
@memberof crux.Applicationlication
@param {string} name - the component name.
Returns the configuration object of a previously registered component or null if either the componet was found or it has no configuration attached .