Download src/js/constants/AppConstants.js from merve/git-101: direct link, hf CLI and curl.
- Browser
- Download file 844 Bytes
-
https://huggingface.co/spaces/merve/git-101/resolve/main/src/js/constants/AppConstants.js
- Command line
-
hf download hf://spaces/merve/git-101/src/js/constants/AppConstants.js
-
curl -L -o AppConstants.js https://huggingface.co/spaces/merve/git-101/resolve/main/src/js/constants/AppConstants.js
844 Bytes
| ; | |
| var keyMirror = require('../util/keyMirror'); | |
| var CHANGE_EVENT = 'change'; | |
| module.exports = { | |
| CHANGE_EVENT: CHANGE_EVENT, | |
| StoreSubscribePrototype: { | |
| subscribe: function(cb) { | |
| this.on(CHANGE_EVENT, cb); | |
| }, | |
| unsubscribe: function(cb) { | |
| this.removeListener(CHANGE_EVENT, cb); | |
| } | |
| }, | |
| ActionTypes: keyMirror({ | |
| SET_LEVEL_SOLVED: null, | |
| RESET_LEVELS_SOLVED: null, | |
| CHANGE_IS_ANIMATING: null, | |
| CHANGE_FLIP_TREE_Y: null, | |
| SUBMIT_COMMAND: null, | |
| CHANGE_LOCALE: null, | |
| CHANGE_LOCALE_FROM_HEADER: null, | |
| DISABLE_LEVEL_INSTRUCTIONS: null, | |
| /** | |
| * only dispatched when you actually | |
| * solve the level, not ask for solution | |
| * or solve it again. | |
| */ | |
| SOLVE_LEVEL: null | |
| }), | |
| PayloadSources: keyMirror({ | |
| VIEW_ACTION: null, | |
| URI_ACTION: null | |
| }) | |
| }; | |