Download src/js/actions/CommandLineActions.js from merve/git-101: direct link, hf CLI and curl.
- Browser
- Download file 388 Bytes
-
https://huggingface.co/spaces/merve/git-101/resolve/main/src/js/actions/CommandLineActions.js
- Command line
-
hf download hf://spaces/merve/git-101/src/js/actions/CommandLineActions.js
-
curl -L -o CommandLineActions.js https://huggingface.co/spaces/merve/git-101/resolve/main/src/js/actions/CommandLineActions.js
388 Bytes
| ; | |
| var AppConstants = require('../constants/AppConstants'); | |
| var AppDispatcher = require('../dispatcher/AppDispatcher'); | |
| var ActionTypes = AppConstants.ActionTypes; | |
| var CommandLineActions = { | |
| submitCommand: function(text) { | |
| AppDispatcher.handleViewAction({ | |
| type: ActionTypes.SUBMIT_COMMAND, | |
| text: text | |
| }); | |
| } | |
| }; | |
| module.exports = CommandLineActions; | |