Download wp-calypso/desktop/app/lib/debug-tools/index.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 254 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/desktop/app/lib/debug-tools/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/desktop/app/lib/debug-tools/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/desktop/app/lib/debug-tools/index.js
254 Bytes
| const { dialog } = require( 'electron' ); | |
| module.exports = { | |
| dialog: function ( message ) { | |
| dialog.showMessageBox( | |
| { | |
| buttons: [ 'OK' ], | |
| title: 'Debug Message', | |
| message: message, | |
| detail: message, | |
| }, | |
| function () {} | |
| ); | |
| }, | |
| }; | |