Skip to content

Commit

Permalink
chore: improve docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelpeixe committed Oct 11, 2024
1 parent af02c11 commit bffe929
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/modal-checkout/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,11 @@ domReady( () => {
iframe.addEventListener( 'load', handleIframeReady );

/**
* Generate cart.
* Generate cart via ajax.
*
* This strategy, used for anonymous users, addresses an edge case in which
* the session for a newly registered reader fails to carry the cart over to
* the checkout.
*
* @return {Promise} The promise that resolves with the checkout URL.
*/
Expand Down

0 comments on commit bffe929

Please sign in to comment.