Spaces:
No application file
No application file
Download node_modules/eventsource/lib/eventsource-polyfill.js from ManojGowda/test-moon: direct link, hf CLI and curl.
- Browser
- Download file 261 Bytes
-
https://huggingface.co/spaces/ManojGowda/test-moon/resolve/main/node_modules/eventsource/lib/eventsource-polyfill.js
- Command line
-
hf download hf://spaces/ManojGowda/test-moon/node_modules/eventsource/lib/eventsource-polyfill.js
-
curl -L -o eventsource-polyfill.js https://huggingface.co/spaces/ManojGowda/test-moon/resolve/main/node_modules/eventsource/lib/eventsource-polyfill.js
261 Bytes
| var EventSource = require('./eventsource') | |
| if (typeof window === 'object') { | |
| window.EventSourcePolyfill = EventSource | |
| if (!window.EventSource) window.EventSource = EventSource | |
| module.exports = window.EventSource | |
| } else { | |
| module.exports = EventSource | |
| } | |