bundles/org.eclipse.orion.client.javascript/web/javascript/orionAcorn.js
function deepCopy(obj) {
			var ret = {}, key, val;
			for (key in obj) {
				if (obj.hasOwnProperty(key)) {
					val = obj[key];
					if (typeof val === 'object' && val !== null) {
						ret[key] = deepCopy(val);
					} else {
						ret[key] = val;
					}
				}
			}
			return ret;
		}
function deepCopy(obj) {
			var ret = {}, key, val;
			for (key in obj) {
				if (obj.hasOwnProperty(key)) {
					val = obj[key];
					if (typeof val === 'object' && val !== null) {
						ret[key] = deepCopy(val);
					} else {
						ret[key] = val;
					}
				}
			}
			return ret;
		}
function deepCopy ( obj ) { var ret = { } , key , val ; for ( key in obj ) { if ( obj . hasOwnProperty ( key ) ) { val = obj [ key ] ; if ( typeof val === 'object' && val !== null ) { ret [ key ] = deepCopy ( val ) ; } else { ret [ key ] = val ; } } } return ret ; }
Returns a deep copy of the given obj
Returns a deep copy of the given obj