1function setCookieOnDomains(name, id, config = {}) { 2 const defaultConfig = { path: "/", domain: arAsproOptions["SITE_ADDRESS"] }; 3 config = Object.assign({}, defaultConfig, config); 4 5 if (arAsproOptions["SITE_ADDRESS"].indexOf(",") != "-1") { 6 const arDomains = arAsproOptions["SITE_ADDRESS"].split(","); 7 if (arDomains) { 8 for (let i in arDomains) { 9 const domain_name = arDomains[i].replace("\n", "").replace("'", ""); 10 11 config = Object.assign({}, config, { domain: domain_name }); 12 13 $.cookie(name, id, config); 14 } 15 } 16 } else { 17 $.cookie(name, id, config); 18 } 19}
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.