Download wp-calypso/client/lib/css-safe-url/index.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 95 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/lib/css-safe-url/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/lib/css-safe-url/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/lib/css-safe-url/index.js
95 Bytes
| export default function cssSafeUrl( url ) { | |
| return url && url.replace( /([()])/g, '\\$1' ); | |
| } | |