Skip to content

Commit d3e6924

Browse files
Merge branch 'magento-commerce:2.4-develop' into L3-PR-20220202
2 parents 36e4afa + 76e5a67 commit d3e6924

File tree

44 files changed

+48
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+48
-55
lines changed

app/code/Magento/Backend/view/adminhtml/web/js/dashboard/chart.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* See COPYING.txt for license details.
44
*/
55

6-
/*global define*/
76
/*global FORM_KEY*/
87
define([
98
'jquery',

app/code/Magento/Backend/view/adminhtml/web/js/dashboard/totals.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* See COPYING.txt for license details.
44
*/
55

6-
/*global define*/
76
/*global FORM_KEY*/
87
define([
98
'jquery',

app/code/Magento/Bundle/view/adminhtml/web/js/bundle-product.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
/*global FORM_KEY*/
77
/*global bSelection*/
8-
/*global $H*/
98
/**
109
* @api
1110
*/
@@ -186,7 +185,9 @@ define([
186185
});
187186
bSelection.gridRemoval.each(function (pair) {
188187
$optionBox.find('.col-sku').filter(function () {
189-
return $(this).text().trim() === pair.key; // find row by SKU
188+
let text = $(this).text();
189+
190+
return text.trim() === pair.key; // find row by SKU
190191
}).closest('tr').find('button.delete').trigger('click');
191192
});
192193
widget.refreshSortableElements();

app/code/Magento/Captcha/view/frontend/web/js/model/captcha.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* See COPYING.txt for license details.
44
*/
55

6-
/*global alert*/
76
define([
87
'jquery',
98
'ko',

app/code/Magento/Catalog/view/adminhtml/web/catalog/base-image-uploader.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* See COPYING.txt for license details.
44
*/
55

6-
/*global alert:true*/
76
define([
87
'jquery',
98
'mage/template',

app/code/Magento/Catalog/view/adminhtml/web/catalog/category/assign-products.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* See COPYING.txt for license details.
44
*/
55

6-
/* global $, $H */
7-
86
define([
97
'mage/adminhtml/grid'
108
], function () {

app/code/Magento/Catalog/view/base/web/js/price-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ define([
2727
* @return {String}
2828
*/
2929
function stringPad(string, times) {
30-
return (new Array(times + 1)).join(string);
30+
return new Array(times + 1).join(string);
3131
}
3232

3333
/**

app/code/Magento/CheckoutAgreements/view/frontend/web/js/model/agreements-assigner.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* See COPYING.txt for license details.
44
*/
55

6-
/*global alert*/
76
define([
87
'jquery'
98
], function ($) {

app/code/Magento/CheckoutAgreements/view/frontend/web/js/model/set-payment-information-mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
5-
/*global alert*/
5+
66
define([
77
'jquery',
88
'mage/utils/wrapper',

app/code/Magento/GroupedProduct/view/adminhtml/web/js/grouped-product.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ define([
159159
product.id = element.val();
160160
product.qty = 0;
161161
element.closest('[data-role=row]').find('[data-column]').each(function (index, el) {
162-
product[$(el).data('column')] = $(el).text().trim();
162+
let text = $(el).text();
163+
164+
product[$(el).data('column')] = text.trim();
163165
});
164166
selectedProductList[product.id] = product;
165167
} else {

0 commit comments

Comments
 (0)