MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / _cloneObj

Function _cloneObj

codebase/sources/dhtmlxscheduler.es.js:13050–13057  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

13048 };
13049 (function() {
13050 var _cloneObj = function(obj) {
13051 if (obj === null || typeof obj != "object")
13052 return obj;
13053 var temp = new obj.constructor();
13054 for (var key in obj)
13055 temp[key] = _cloneObj(obj[key]);
13056 return temp;
13057 };
13058 scheduler2._dataprocessors = [];
13059 scheduler2._layers_zindex = {};
13060 for (var i2 = 0; i2 < scheduler2.layers.length; i2++) {

Callers 1

layerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected