diff options
author | Alex Pott <alex.a.pott@googlemail.com> | 2017-05-19 23:12:53 +0100 |
---|---|---|
committer | Alex Pott <alex.a.pott@googlemail.com> | 2017-05-19 23:12:53 +0100 |
commit | 8287017e034bc323dec1d86b3f37a804aa082d2d (patch) | |
tree | ebd8ff908859b0e1cc4319392da94e8f68033321 /core/modules/comment/comment-entity-form.js | |
parent | 9a0e9a649ac8078ce6e5f6089749a1115bdda06b (diff) | |
download | drupal-8287017e034bc323dec1d86b3f37a804aa082d2d.tar.gz drupal-8287017e034bc323dec1d86b3f37a804aa082d2d.zip |
Issue #2818825 by drpal, nod_, droplet, cilefen: Rename all JS files to *.es6.js and compile them
Diffstat (limited to 'core/modules/comment/comment-entity-form.js')
-rw-r--r-- | core/modules/comment/comment-entity-form.js | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/core/modules/comment/comment-entity-form.js b/core/modules/comment/comment-entity-form.js index fd16d8bfb0e..8121e464b3d 100644 --- a/core/modules/comment/comment-entity-form.js +++ b/core/modules/comment/comment-entity-form.js @@ -1,23 +1,21 @@ /** - * @file - * Attaches comment behaviors to the entity form. - */ +* DO NOT EDIT THIS FILE. +* All changes should be applied to ./modules/comment/comment-entity-form.es6.js +* See the following change record for more information, +* https://www.drupal.org/node/2873849 +* @preserve +**/ (function ($, Drupal) { 'use strict'; - /** - * - * @type {Drupal~behavior} - */ Drupal.behaviors.commentFieldsetSummaries = { - attach: function (context) { + attach: function attach(context) { var $context = $(context); $context.find('fieldset.comment-entity-settings-form').drupalSetSummary(function (context) { return Drupal.checkPlain($(context).find('.js-form-item-comment input:checked').next('label').text()); }); } }; - -})(jQuery, Drupal); +})(jQuery, Drupal);
\ No newline at end of file |