mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
866 B
JSON
1 line
866 B
JSON
|
{"ast":null,"code":"function memoize(fn) {\n var cache = {};\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport default memoize;","map":{"version":3,"sources":["/app/node_modules/@emotion/memoize/dist/memoize.browser.esm.js"],"names":["memoize","fn","cache","arg","undefined"],"mappings":"AAAA,SAASA,OAAT,CAAiBC,EAAjB,EAAqB;AACnB,MAAIC,KAAK,GAAG,EAAZ;AACA,SAAO,UAAUC,GAAV,EAAe;AACpB,QAAID,KAAK,CAACC,GAAD,CAAL,KAAeC,SAAnB,EAA8BF,KAAK,CAACC,GAAD,CAAL,GAAaF,EAAE,CAACE,GAAD,CAAf;AAC9B,WAAOD,KAAK,CAACC,GAAD,CAAZ;AACD,GAHD;AAID;;AAED,eAAeH,OAAf","sourcesContent":["function memoize(fn) {\n var cache = {};\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport default memoize;\n"]},"metadata":{},"sourceType":"module"}
|