lib/sysmo.js
function(target, namespace, graph) {
      
      //if the first param is a string, 
      //we are including the namespace on Sysmo
      if (typeof target == 'string') {
        graph = namespace;
        namespace = target;
        target = Sysmo;
      }
      
      //create namespace on target
      Sysmo.namespace(namespace, target);
      //get inner most object in namespace
      target = Sysmo.getDeepValue(target, namespace);
      //merge graph on inner most object in namespace
      return Sysmo.extend(target, graph);
      
    }
function(target, namespace, graph) {
      
      //if the first param is a string, 
      //we are including the namespace on Sysmo
      if (typeof target == 'string') {
        graph = namespace;
        namespace = target;
        target = Sysmo;
      }
      
      //create namespace on target
      Sysmo.namespace(namespace, target);
      //get inner most object in namespace
      target = Sysmo.getDeepValue(target, namespace);
      //merge graph on inner most object in namespace
      return Sysmo.extend(target, graph);
      
    }
function ( target , namespace , graph ) { //if the first param is a string,  //we are including the namespace on Sysmo if ( typeof target == 'string' ) { graph = namespace ; namespace = target ; target = Sysmo ; } //create namespace on target Sysmo . namespace ( namespace , target ) ; //get inner most object in namespace target = Sysmo . getDeepValue ( target , namespace ) ; //merge graph on inner most object in namespace return Sysmo . extend ( target , graph ) ; }
include an object graph in another
include an object graph in another