1
0
mirror of https://github.com/ascribe/onion.git synced 2024-07-01 06:02:12 +02:00
onion/js/stores/edition_store.js

19 lines
351 B
JavaScript
Raw Normal View History

'use strict';
import alt from '../alt';
import EditionActions from '../actions/edition_actions';
2015-05-26 13:48:46 +02:00
class EditionStore {
constructor() {
2015-05-26 13:48:46 +02:00
this.edition = {};
this.bindActions(EditionActions);
}
2015-05-26 13:48:46 +02:00
onUpdateEdition(edition) {
this.edition = edition;
}
}
2015-06-15 08:44:44 +02:00
export default alt.createStore(EditionStore, 'EditionStore');