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 7329605 commit 5000ef1Copy full SHA for 5000ef1
ReCaptchaStorePickup/view/frontend/web/js/reCaptchaStorePickup.js
@@ -3,22 +3,17 @@
3
* See COPYING.txt for license details.
4
*/
5
6
-define(
7
- [
8
- 'Magento_ReCaptchaFrontendUi/js/reCaptcha'
9
- ],
10
- function (Component) {
11
- 'use strict';
+define(['Magento_ReCaptchaFrontendUi/js/reCaptcha'], function (reCaptcha) {
+ 'use strict';
12
13
- return Component.extend({
+ return reCaptcha.extend({
14
15
- /**
16
- * @inheritdoc
17
- */
18
- renderReCaptcha: function () {
19
- this.captchaInitialized = false;
20
- this._super();
21
- },
22
- });
23
- }
24
-);
+ /**
+ * @inheritdoc
+ */
+ renderReCaptcha: function () {
+ this.captchaInitialized = false;
+ this._super();
+ }
+ });
+});
0 commit comments