mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
1 line
2.2 KiB
JSON
1 line
2.2 KiB
JSON
{"ast":null,"code":"import isObject from './isObject.js';\n/** Built-in value references. */\n\nvar objectCreate = Object.create;\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\n\nvar baseCreate = function () {\n function object() {}\n\n return function (proto) {\n if (!isObject(proto)) {\n return {};\n }\n\n if (objectCreate) {\n return objectCreate(proto);\n }\n\n object.prototype = proto;\n var result = new object();\n object.prototype = undefined;\n return result;\n };\n}();\n\nexport default baseCreate;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_baseCreate.js"],"names":["isObject","objectCreate","Object","create","baseCreate","object","proto","prototype","result","undefined"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,eAArB;AAEA;;AACA,IAAIC,YAAY,GAAGC,MAAM,CAACC,MAA1B;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,IAAIC,UAAU,GAAI,YAAW;AAC3B,WAASC,MAAT,GAAkB,CAAE;;AACpB,SAAO,UAASC,KAAT,EAAgB;AACrB,QAAI,CAACN,QAAQ,CAACM,KAAD,CAAb,EAAsB;AACpB,aAAO,EAAP;AACD;;AACD,QAAIL,YAAJ,EAAkB;AAChB,aAAOA,YAAY,CAACK,KAAD,CAAnB;AACD;;AACDD,IAAAA,MAAM,CAACE,SAAP,GAAmBD,KAAnB;AACA,QAAIE,MAAM,GAAG,IAAIH,MAAJ,EAAb;AACAA,IAAAA,MAAM,CAACE,SAAP,GAAmBE,SAAnB;AACA,WAAOD,MAAP;AACD,GAXD;AAYD,CAdiB,EAAlB;;AAgBA,eAAeJ,UAAf","sourcesContent":["import isObject from './isObject.js';\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nexport default baseCreate;\n"]},"metadata":{},"sourceType":"module"} |