mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
1.5 KiB
JSON
1 line
1.5 KiB
JSON
{"ast":null,"code":"import baseCreate from './_baseCreate.js';\nimport getPrototype from './_getPrototype.js';\nimport isPrototype from './_isPrototype.js';\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\n\nfunction initCloneObject(object) {\n return typeof object.constructor == 'function' && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};\n}\n\nexport default initCloneObject;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_initCloneObject.js"],"names":["baseCreate","getPrototype","isPrototype","initCloneObject","object","constructor"],"mappings":"AAAA,OAAOA,UAAP,MAAuB,kBAAvB;AACA,OAAOC,YAAP,MAAyB,oBAAzB;AACA,OAAOC,WAAP,MAAwB,mBAAxB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,eAAT,CAAyBC,MAAzB,EAAiC;AAC/B,SAAQ,OAAOA,MAAM,CAACC,WAAd,IAA6B,UAA7B,IAA2C,CAACH,WAAW,CAACE,MAAD,CAAxD,GACHJ,UAAU,CAACC,YAAY,CAACG,MAAD,CAAb,CADP,GAEH,EAFJ;AAGD;;AAED,eAAeD,eAAf","sourcesContent":["import baseCreate from './_baseCreate.js';\nimport getPrototype from './_getPrototype.js';\nimport isPrototype from './_isPrototype.js';\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nexport default initCloneObject;\n"]},"metadata":{},"sourceType":"module"} |