2015-02-05 07:05:06 +01:00
|
|
|
var keyMirror = require('react/lib/keyMirror');
|
|
|
|
|
|
|
|
|
|
// Define action constants
|
|
|
|
|
module.exports = keyMirror({
|
|
|
|
|
LOAD: null,
|
|
|
|
|
ADD_ITEM: null,
|
2015-02-07 07:52:32 +01:00
|
|
|
// because REMOVE_ITEM could be used to completely remove item
|
2015-02-05 07:05:06 +01:00
|
|
|
// and not just decrease count by 1
|
|
|
|
|
TAKE_ITEM_OUT: null
|
|
|
|
|
});
|