1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 09:35:10 +01:00
onion/js/stores/edition_store.js
2015-06-01 18:20:15 +02:00

17 lines
320 B
JavaScript

import alt from '../alt';
import EditionActions from '../actions/edition_actions';
class EditionStore {
constructor() {
this.edition = {};
this.bindActions(EditionActions);
}
onUpdateEdition(edition) {
this.edition = edition;
}
}
export default alt.createStore(EditionStore);