GoScrobble/web/node_modules/.cache/babel-loader/e9d00c268717050a5a9bf849e4c3e168.json

1 line
871 B
JSON

{"ast":null,"code":"export default function memoize(fn) {\n var cache = {};\n return function (arg) {\n if (cache[arg] === undefined) {\n cache[arg] = fn(arg);\n }\n\n return cache[arg];\n };\n}","map":{"version":3,"sources":["/app/node_modules/@material-ui/system/esm/memoize.js"],"names":["memoize","fn","cache","arg","undefined"],"mappings":"AAAA,eAAe,SAASA,OAAT,CAAiBC,EAAjB,EAAqB;AAClC,MAAIC,KAAK,GAAG,EAAZ;AACA,SAAO,UAAUC,GAAV,EAAe;AACpB,QAAID,KAAK,CAACC,GAAD,CAAL,KAAeC,SAAnB,EAA8B;AAC5BF,MAAAA,KAAK,CAACC,GAAD,CAAL,GAAaF,EAAE,CAACE,GAAD,CAAf;AACD;;AAED,WAAOD,KAAK,CAACC,GAAD,CAAZ;AACD,GAND;AAOD","sourcesContent":["export default function memoize(fn) {\n var cache = {};\n return function (arg) {\n if (cache[arg] === undefined) {\n cache[arg] = fn(arg);\n }\n\n return cache[arg];\n };\n}"]},"metadata":{},"sourceType":"module"}