mirror of
https://github.com/ascribe/onion.git
synced 2024-06-30 13:41:57 +02:00
16 lines
407 B
JavaScript
16 lines
407 B
JavaScript
import alt from '../alt';
|
|
import PieceListActions from '../actions/piece_list_actions';
|
|
|
|
class PieceListStore {
|
|
constructor() {
|
|
this.itemList = []; // rename this to pieceList after figuring out AltContainer transform
|
|
this.bindActions(PieceListActions);
|
|
}
|
|
|
|
onUpdatePieceList(itemList) {
|
|
this.itemList = itemList;
|
|
}
|
|
};
|
|
|
|
export default alt.createStore(PieceListStore);
|