rem: Xinha.cloneObject = function(obj) { if ( !obj ) { return null; }  var newObj = {};   if ( obj.constructor.toString().match( /\s*function Array\(/ ) ) { newObj = obj.constructor(); }   if ( obj.constructor.toString().match( /\s*function Function\(/ ) ) { newObj = obj; } else { for ( var n in obj ) { var node = obj[n]; if ( typeof node == 'object' ) { newObj[n] = Xinha.cloneObject(node); } else { newObj[n] = node; } } }  return newObj; 
add: Xinha.cloneObject=function(obj){ if(!obj){ return null; } var _192={}; if(obj.constructor.toString().match(/\s*function Array\(/)){ _192=obj.constructor(); } if(obj.constructor.toString().match(/\s*function Function\(/)){ _192=obj; }else{ for(var n in obj){ var node=obj[n]; if(typeof node=="object"){ _192[n]=Xinha.cloneObject(node); }else{ _192[n]=node; } } } return _192; 
context: Xinha.cloneObject = function(obj){  if ( !obj )  {    return null;  }  var newObj = {};  // check for array objects  if ( obj.constructor.toString().match( /\s*function Array\(/ ) )  {    newObj = obj.constructor();  }  // check for function objects (as usual, IE is fucked up)  if ( obj.constructor.toString().match( /\s*function Function\(/ ) )  {    newObj = obj; // just copy reference to it  }  else  {    for ( var n in obj )    {      var node = obj[n];      if ( typeof node == 'object' )      {        newObj[n] = Xinha.cloneObject(node);      }      else      {        newObj[n] = node;      }    }  }  return newObj;};
meta: 6015	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6015/d8776708e0e10dfa0ab6ee1d0fa9e512d8d16348/XinhaCore.js/clean/packages/acs-templating/www/resources/xinha-nightly/XinhaCore.js