1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00
onion/js/stores/edition_store.js
2015-05-26 13:48:46 +02:00

17 lines
318 B
JavaScript

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