1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +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);