Download wp-calypso/apps/odyssey-stats/src/lib/init-sentry.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 296 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/apps/odyssey-stats/src/lib/init-sentry.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/apps/odyssey-stats/src/lib/init-sentry.ts
-
curl -L -o init-sentry.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/apps/odyssey-stats/src/lib/init-sentry.ts
296 Bytes
| export default function initSentry() { | |
| const script = document.createElement( 'script' ); | |
| // Uses unique DNS specific to Odyssey Stats. | |
| script.src = 'https://js.sentry-cdn.com/332d216a4d31158057fb5277cd48f438.min.js'; | |
| script.crossOrigin = 'anonymous'; | |
| document.body.appendChild( script ); | |
| } | |