Skip to content

Commit b3aa9ff

Browse files
authored
Merge pull request #6975 from magento-commerce/platform-health
[Platform Health] Dependencies update
2 parents ab59159 + 3e1e772 commit b3aa9ff

File tree

55 files changed

+6456
-4732
lines changed

Some content is hidden

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

55 files changed

+6456
-4732
lines changed

app/code/Magento/AdminNotification/view/adminhtml/web/system/notification.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ define([
5252
tmpl = $(tmpl);
5353

5454
this.element.html(
55-
$('<ul />', {
55+
$('<ul></ul>', {
5656
'class': 'message-system-list'
5757
}).append(tmpl)
5858
).trigger('contentUpdated');

app/code/Magento/Catalog/view/adminhtml/web/catalog/product-attributes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ define([
2626
_initModal: function () {
2727
var self = this;
2828

29-
this.modal = $('<div id="create_new_attribute"/>').modal({
29+
this.modal = $('<div id="create_new_attribute"></div>').modal({
3030
title: $.mage.__('New Attribute'),
3131
type: 'slide',
3232
buttons: [],
3333

3434
/** @inheritdoc */
3535
opened: function () {
3636
$(this).parent().addClass('modal-content-new-attribute');
37-
self.iframe = $('<iframe id="create_new_attribute_container">').attr({
37+
self.iframe = $('<iframe id="create_new_attribute_container"></iframe>').attr({
3838
src: self._prepareUrl(),
3939
frameborder: 0
4040
});

app/code/Magento/Catalog/view/frontend/web/js/list.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ define([
1818
headings;
1919

2020
if (products.length > this.options.productsInRow) {
21-
headings = $('<table/>')
21+
headings = $('<table></table>')
2222
.addClass('comparison headings data table')
2323
.insertBefore(elem.closest('.container'));
2424

@@ -35,7 +35,7 @@ define([
3535

3636
thCopy.css('height', height)
3737
.appendTo(headings)
38-
.wrap('<tr />');
38+
.wrap('<tr></tr>');
3939
});
4040
});
4141
}

app/code/Magento/CatalogInventory/Block/Adminhtml/Form/Field/Stock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ protected function _getJs($quantityFieldId, $inStockFieldId)
223223
!(event && event.type == 'keyup')
224224
) {
225225
if (useConfigManageStockField.val() == 1) {
226-
useConfigManageStockField.removeAttr('checked').val(0);
226+
useConfigManageStockField.prop('checked', false).val(0);
227227
}
228228
manageStockField.toggleClass('disabled', false).prop('disabled', false);
229229
manageStockField.val(manageStockValue);

app/code/Magento/Checkout/view/frontend/templates/cart/minicart.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<?php else: ?>
4545
<?php $scriptString = <<<script
4646
require(['jquery'], function ($) {
47-
$('a.action.showcart').click(function() {
47+
$('a.action.showcart').on('click', function() {
4848
$(document.body).trigger('processStart');
4949
});
5050
});

app/code/Magento/Customer/view/adminhtml/web/edit/tab/js/addresses.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ define([
369369
regionValue = this.options.regionElement.attr('value');
370370

371371
$.each(data, function (idx, item) {
372-
var regionOption = $('<option />').val(item.value).text(item.label);
372+
var regionOption = $('<option></option>').val(item.value).text(item.label);
373373

374374
if (regionValue && regionValue == item.label) { //eslint-disable-line eqeqeq
375375
regionOption.attr('selected', 'selected');

app/code/Magento/Integration/view/adminhtml/web/js/integration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ define([
299299
}
300300

301301
if (popup.length === 0) {
302-
popup = $('<div/>');
302+
popup = $('<div></div>');
303303
}
304304
popup.html(popupHtml);
305305

app/code/Magento/ProductVideo/view/adminhtml/web/js/get-video-information.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ define([
157157

158158
this._initialize();
159159

160-
this.element.append('<div/>');
160+
this.element.append('<div></div>');
161161

162162
this._on(window, {
163163

@@ -321,7 +321,7 @@ define([
321321
timestamp +
322322
additionalParams;
323323
this.element.append(
324-
$('<iframe/>')
324+
$('<iframe></iframe>')
325325
.attr('frameborder', 0)
326326
.attr('id', 'vimeo' + this._code + timestamp)
327327
.attr('width', this._width)

app/code/Magento/ProductVideo/view/frontend/web/js/load-player.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ define([
160160

161161
this._initialize();
162162

163-
this.element.append('<div/>');
163+
this.element.append('<div></div>');
164164

165165
this._on(window, {
166166

@@ -334,7 +334,7 @@ define([
334334
timestamp +
335335
additionalParams;
336336
this.element.append(
337-
$('<iframe/>')
337+
$('<iframe></iframe>')
338338
.attr('frameborder', 0)
339339
.attr('id', 'vimeo' + this._code + timestamp)
340340
.attr('width', this._width)

app/code/Magento/Swatches/view/adminhtml/web/js/form/element/swatch-visual.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,11 @@ define([
184184
display: 'none'
185185
}).appendTo($('body'));
186186

187-
this.iframe = $('<iframe />', {
187+
this.iframe = $('<iframe></iframe>', {
188188
name: 'upload_iframe_' + elementName
189189
}).appendTo(this.wrapper);
190190

191-
this.form = $('<form />', {
191+
this.form = $('<form></form>', {
192192
name: 'swatch_form_image_upload_' + elementName,
193193
target: 'upload_iframe_' + elementName,
194194
method: 'post',

0 commit comments

Comments
 (0)