This website requires JavaScript.
Explore
Help
Sign In
Steve-Dee-Designs
/
woocommerce
mirror of
https://github.com/woocommerce/woocommerce.git
Watch
1
Star
0
Fork
You've already forked woocommerce
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
bfdfa2f603
woocommerce
/
plugins
/
woocommerce-blocks
/
assets
/
js
/
base
/
context
/
cart-checkout
/
event-emit
/
index.js
4 lines
91 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Convert emitters to promise (https://github.com/woocommerce/woocommerce-blocks/pull/2003) * restructure event-emit directory and convert emitters to promises - also add emitEventWithAbort function * implement event emitters as promises * clean up logic - return from for loop - define response as const on each iteration. - return true if loop completes successfully. * rename event_emit folder to event-emit
2020-03-20 16:46:24 +00:00
export
*
from
'./reducer'
;
export
*
from
'./emitters'
;
Fix flaw with event emitters and complete checkout flow for the cheque payment method. (https://github.com/woocommerce/woocommerce-blocks/pull/2108) * Allow for priority to be set on event emitters * Add payment event emitters * add new actions/status to checkout state context * implement event emitters in payment data context * refactor checkout state context to use new actions in event emitters * refactor checkout processor to handle new event emitters * fix type-defs for registered payment methods * register observer for cheque payment method integration * add inline todo * fix sort * fix tests and add test for priority usage in event emitters * remove todo and just add explanatory comment * condense sort logic * lowercase test description * abstract emitter callback to reduce code * don’t process passed in errors if it’s undefined * improve error response expectation for payment processing event observer
2020-04-03 11:50:54 +00:00
export
*
from
'./emitter-callback'
;