mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 18:13:49 +01:00
19 lines
351 B
JavaScript
19 lines
351 B
JavaScript
'use strict';
|
|
|
|
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, 'EditionStore');
|