Gazebo_simulation-Frontend/node_modules/.cache/babel-loader/9149cdddda5f0875b2b22ce7297fff2a.json
2020-12-31 20:18:50 +00:00

1 line
455 B
JSON

{"ast":null,"code":"var weakMemoize = function weakMemoize(func) {\n // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps\n var cache = new WeakMap();\n return function (arg) {\n if (cache.has(arg)) {\n // $FlowFixMe\n return cache.get(arg);\n }\n\n var ret = func(arg);\n cache.set(arg, ret);\n return ret;\n };\n};\n\nexport default weakMemoize;","map":null,"metadata":{},"sourceType":"module"}