Spaces:
Sleeping
Sleeping
Download node_modules/@soda/get-current-script/fixtures/log-src-in-microtask.js from k-l-lambda/lotus: direct link, hf CLI and curl.
- Browser
- Download file 261 Bytes
-
https://huggingface.co/spaces/k-l-lambda/lotus/resolve/main/node_modules/%40soda/get-current-script/fixtures/log-src-in-microtask.js
- Command line
-
hf download hf://spaces/k-l-lambda/lotus/node_modules/@soda/get-current-script/fixtures/log-src-in-microtask.js
-
curl -L -o log-src-in-microtask.js https://huggingface.co/spaces/k-l-lambda/lotus/resolve/main/node_modules/%40soda/get-current-script/fixtures/log-src-in-microtask.js
261 Bytes
| var app = document.getElementById('app') | |
| if (typeof Promise === 'undefined') { | |
| // skip this test in IE | |
| app.textContent = window.getCurrentScript().src | |
| } else { | |
| Promise.resolve().then(function() { | |
| app.textContent = window.getCurrentScript().src | |
| }) | |
| } | |