Download wp-calypso/client/lib/formatting/capital-p-dangit.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/lib/formatting/capital-p-dangit.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/lib/formatting/capital-p-dangit.js
-
curl -L -o capital-p-dangit.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/lib/formatting/capital-p-dangit.js
200 Bytes
| export function capitalPDangit( input ) { | |
| if ( 'string' !== typeof input ) { | |
| throw new Error( 'capitalPDangit expects a string as input' ); | |
| } | |
| return input.replace( /Wordpress/g, 'WordPress' ); | |
| } | |