We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95fffe6 commit 95f6207Copy full SHA for 95f6207
ReCaptchaCheckout/view/frontend/web/js/webapiReCaptchaRegistry-mixin.js
@@ -6,17 +6,15 @@
6
define([], function () {
7
'use strict';
8
9
- return function(originalFunction){
+ return function (originalFunction) {
10
/**
11
- * Add a listener to when the ReCaptcha finishes verification
12
- * @param {String} id - ReCaptchaId
13
- * @param {Function} func - Will be called back with the token
+ * {@inheritDoc}
14
*/
15
- originalFunction.addListener = function(id , func) {
+ originalFunction.addListener = function (id , func) {
16
this._listeners[id] = func;
17
}
18
19
return originalFunction;
20
- };
+ }
21
22
-});
+});
0 commit comments