From 8aa8ce1ffbcca9c727f46e58c714e1d351f7ef88 Mon Sep 17 00:00:00 2001 From: catch Date: Fri, 9 Sep 2022 07:26:42 +0100 Subject: Issue #3278415 by nod_, lauriii, catch, Wim Leers, longwave, xjm, claudiu.cristea: Remove usages of the JavaScript ES6 build step, the build step itself, and associated dev dependencies --- core/modules/comment/comment-entity-form.es6.js | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 core/modules/comment/comment-entity-form.es6.js (limited to 'core/modules/comment/comment-entity-form.es6.js') diff --git a/core/modules/comment/comment-entity-form.es6.js b/core/modules/comment/comment-entity-form.es6.js deleted file mode 100644 index af54d92a9c9..00000000000 --- a/core/modules/comment/comment-entity-form.es6.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @file - * Attaches comment behaviors to the entity form. - */ - -(function ($, Drupal) { - /** - * - * @type {Drupal~behavior} - */ - Drupal.behaviors.commentFieldsetSummaries = { - attach(context) { - const $context = $(context); - $context - .find('fieldset.comment-entity-settings-form') - .drupalSetSummary((context) => - Drupal.checkPlain( - $(context) - .find('.js-form-item-comment input:checked') - .next('label')[0].textContent, - ), - ); - }, - }; -})(jQuery, Drupal); -- cgit v1.2.3