lunaisadev-website-old/node_modules/rxjs/util/assign.js.map

1 line
1.3 KiB
Plaintext

{"version":3,"file":"assign.js","sourceRoot":"","sources":["../../src/util/assign.ts"],"names":[],"mappings":";AAAA,qBAAqB,QAAQ,CAAC,CAAA;AAE9B,oBAA2B,MAAc;IAAE,iBAAoB;SAApB,WAAoB,CAApB,sBAAoB,CAApB,IAAoB;QAApB,gCAAoB;;IAC7D,IAAM,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC;IAC3B,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;QAC7B,IAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;QAC1B,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC;YACrB,EAAE,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC7B,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;YACxB,CAAC;QACH,CAAC;IACH,CAAC;IACD,MAAM,CAAC,MAAM,CAAC;AAChB,CAAC;AAXe,kBAAU,aAWzB,CAAA;AAAA,CAAC;AAEF,mBAA0B,IAAS;IACjC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,IAAI,UAAU,CAAC;AAC1C,CAAC;AAFe,iBAAS,YAExB,CAAA;AAEY,cAAM,GAAG,SAAS,CAAC,WAAI,CAAC,CAAC","sourcesContent":["import { root } from './root';\n\nexport function assignImpl(target: Object, ...sources: Object[]) {\n const len = sources.length;\n for (let i = 0; i < len; i++) {\n const source = sources[i];\n for (let k in source) {\n if (source.hasOwnProperty(k)) {\n target[k] = source[k];\n }\n }\n }\n return target;\n};\n\nexport function getAssign(root: any) {\n return root.Object.assign || assignImpl;\n}\n\nexport const assign = getAssign(root);"]}