Skip to content

Instantly share code, notes, and snippets.

@ibare
Created April 13, 2017 01:46
Show Gist options
  • Save ibare/1fa1c9e242aef9f0a3557fd9087c4804 to your computer and use it in GitHub Desktop.
Save ibare/1fa1c9e242aef9f0a3557fd9087c4804 to your computer and use it in GitHub Desktop.
Woowahan.View.create('myview', {
events: {
'@transaction fetch-order-info', 'doneAction'
},
doAction() {
this.createTransaction('fetch-order-info', [
Woowahan.Action.create(FETCH_ORDER_INFO, {}),
Woowahan.Action.create(FETCH_MEMBER_INFO, {}),
Woowahan.Action.create(FETCH_MEMBER_POINT_INFO, {}),
]);
},
doneAction(err, results) {
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment