mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
17 lines
318 B
JavaScript
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);
|