PageSourceSearch

https://www.chaoyang.gov.cn/cms/ztree/demoTools.js

js chaoyang.gov.cn collected 2026-09-25 03:56:20 UTC 643 bytes, 24 lines download raw bytes

1function clone(jsonObj, newName) {
2    var buf;
3    if (jsonObj instanceof Array) {
4        buf = [];
5        var i = jsonObj.length;
6        while (i--) {
7            buf[i] = clone(jsonObj[i], newName);
8        }
9        return buf;
10    }else if (typeof jsonObj == "function"){
11        return jsonObj;
12    }else if (jsonObj instanceof Object){
13        buf = {};
14        for (var k in jsonObj) {
15	        if (k!="parentNode") {
16	            buf[k] = clone(jsonObj[k], newName);
17	            if (newName && k=="name") buf[k] += newName;
18	        }
19        }
20        return buf;
21    }else{
22        return jsonObj;
23    }
24}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.