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 = {
9
9
mixins : {
10
10
'Magento_Checkout/js/model/place-order' : {
11
11
'Magento_ReCaptchaCheckout/js/model/place-order-mixin' : true
12
+ } ,
13
+ 'Magento_ReCaptchaWebapiUi/js/webapiReCaptchaRegistry' : {
14
+ 'Magento_ReCaptchaCheckout/js/webapiReCaptchaRegistry-mixin' : true
12
15
}
13
16
}
14
17
}
15
18
} ;
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