Spaces:
Runtime error
Runtime error
Download static/node_modules/mongoose/lib/helpers/once.js from kaab4321/NarrativeFlow: direct link, hf CLI and curl.
- Browser
- Download file 199 Bytes
-
https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/helpers/once.js
- Command line
-
hf download hf://spaces/kaab4321/NarrativeFlow/static/node_modules/mongoose/lib/helpers/once.js
-
curl -L -o once.js https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/helpers/once.js
199 Bytes
| ; | |
| module.exports = function once(fn) { | |
| let called = false; | |
| return function() { | |
| if (called) { | |
| return; | |
| } | |
| called = true; | |
| return fn.apply(null, arguments); | |
| }; | |
| }; | |