1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00
onion/js/stores/application_store.js

19 lines
404 B
JavaScript
Raw Normal View History

2015-06-22 17:33:25 +02:00
'use strict';
import { alt } from '../alt';
2015-06-22 17:33:25 +02:00
import ApplicationActions from '../actions/application_actions';
class ApplicationStore {
constructor() {
this.applications = {};
this.bindActions(ApplicationActions);
}
onUpdateApplications(applications) {
this.applications = applications;
}
}
export default alt.createStore(ApplicationStore, 'ApplicationStore');