File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
ReCaptchaCheckout/view/frontend Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,11 @@ var config = {
99 mixins : {
1010 'Magento_Checkout/js/model/place-order' : {
1111 'Magento_ReCaptchaCheckout/js/model/place-order-mixin' : true
12+ } ,
13+ 'Magento_ReCaptchaWebapiUi/js/webapiReCaptchaRegistry' : {
14+ 'Magento_ReCaptchaCheckout/js/webapiReCaptchaRegistry-mixin' : true
1215 }
1316 }
1417 }
1518} ;
19+
Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright © Magento, Inc. All rights reserved.
3+ * See COPYING.txt for license details.
4+ */
5+
6+ define ( [ ] , function ( ) {
7+ 'use strict' ;
8+
9+ return function ( originalFunction ) {
10+ /**
11+ * {@inheritDoc }
12+ */
13+ originalFunction . addListener = function ( id , func ) {
14+ this . _listeners [ id ] = func ;
15+ } ;
16+
17+ return originalFunction ;
18+ } ;
19+
20+ } ) ;
You can’t perform that action at this time.
0 commit comments