mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
1 line
1.9 KiB
JSON
1 line
1.9 KiB
JSON
{"ast":null,"code":"import nativeCreate from './_nativeCreate.js';\n/** Used to stand-in for `undefined` hash values. */\n\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\n\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = nativeCreate && value === undefined ? HASH_UNDEFINED : value;\n return this;\n}\n\nexport default hashSet;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_hashSet.js"],"names":["nativeCreate","HASH_UNDEFINED","hashSet","key","value","data","__data__","size","has","undefined"],"mappings":"AAAA,OAAOA,YAAP,MAAyB,oBAAzB;AAEA;;AACA,IAAIC,cAAc,GAAG,2BAArB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,OAAT,CAAiBC,GAAjB,EAAsBC,KAAtB,EAA6B;AAC3B,MAAIC,IAAI,GAAG,KAAKC,QAAhB;AACA,OAAKC,IAAL,IAAa,KAAKC,GAAL,CAASL,GAAT,IAAgB,CAAhB,GAAoB,CAAjC;AACAE,EAAAA,IAAI,CAACF,GAAD,CAAJ,GAAaH,YAAY,IAAII,KAAK,KAAKK,SAA3B,GAAwCR,cAAxC,GAAyDG,KAArE;AACA,SAAO,IAAP;AACD;;AAED,eAAeF,OAAf","sourcesContent":["import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nexport default hashSet;\n"]},"metadata":{},"sourceType":"module"} |