ICT30016-Assignment-3/node_modules/.cache/babel-loader/2edcce3c3a3099132f2a252315bc7a16c8daf425e11dcac5cd5f0e8dda6b932b.json
dlawler489 a79a6afd34 intial
intial
2025-09-16 12:09:52 +10:00

1 line
No EOL
1.2 KiB
JSON

{"ast":null,"code":"/**\n * Pipe\n * Compose other transformers to run linearily\n * pipe(min(20), max(40))\n * @param {...functions} transformers\n * @return {function}\n */\nconst combineFunctions = (a, b) => v => b(a(v));\nconst pipe = (...transformers) => transformers.reduce(combineFunctions);\nexport { pipe };","map":{"version":3,"names":["combineFunctions","a","b","v","pipe","transformers","reduce"],"sources":["/Users/davidl/Nextcloud/Uni/Swinburne/ICT30016 - ICT Project/Assignment 3/incident-response-game/node_modules/motion-utils/dist/es/pipe.mjs"],"sourcesContent":["/**\n * Pipe\n * Compose other transformers to run linearily\n * pipe(min(20), max(40))\n * @param {...functions} transformers\n * @return {function}\n */\nconst combineFunctions = (a, b) => (v) => b(a(v));\nconst pipe = (...transformers) => transformers.reduce(combineFunctions);\n\nexport { pipe };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,gBAAgB,GAAGA,CAACC,CAAC,EAAEC,CAAC,KAAMC,CAAC,IAAKD,CAAC,CAACD,CAAC,CAACE,CAAC,CAAC,CAAC;AACjD,MAAMC,IAAI,GAAGA,CAAC,GAAGC,YAAY,KAAKA,YAAY,CAACC,MAAM,CAACN,gBAAgB,CAAC;AAEvE,SAASI,IAAI","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}