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