Files
freeCodeCamp/common/screens/context/Store.js

19 lines
357 B
JavaScript
Raw Normal View History

2015-06-04 10:53:01 -07:00
var Store = require('thundercats').Store,
ContextActions = require('./Actions');
var ContextStore = Store.create({
getInitialValue: function() {
return {};
},
getOperations: function() {
return ContextActions
.renderToUser
.map(function(ctx) {
return { value: ctx };
});
}
});
module.exports = ContextStore;