Created
January 27, 2016 08:01
-
-
Save oblank/52b2af9ea08ed5833555 to your computer and use it in GitHub Desktop.
javascript constants 定义
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2014-2015, Facebook, Inc. | |
* All rights reserved. | |
* | |
* This source code is licensed under the BSD-style license found in the | |
* LICENSE file in the root directory of this source tree. An additional grant | |
* of patent rights can be found in the PATENTS file in the same directory. | |
* | |
* TodoConstants | |
*/ | |
var keyMirror = require('keymirror'); | |
module.exports = keyMirror({ | |
TODO_CREATE: null, | |
TODO_COMPLETE: null, | |
TODO_DESTROY: null, | |
TODO_DESTROY_COMPLETED: null, | |
TODO_TOGGLE_COMPLETE_ALL: null, | |
TODO_UNDO_COMPLETE: null, | |
TODO_UPDATE_TEXT: null | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment