diff --git a/core/misc/dropbutton/dropbutton.es6.js b/core/misc/dropbutton/dropbutton.es6.js index 54fd3fe3f4b8..b91b099ebd33 100644 --- a/core/misc/dropbutton/dropbutton.es6.js +++ b/core/misc/dropbutton/dropbutton.es6.js @@ -231,9 +231,7 @@ * A string representing a DOM fragment. */ dropbuttonToggle(options) { - return `
  • `; + return `
  • `; }, }, ); diff --git a/core/modules/filter/filter.admin.es6.js b/core/modules/filter/filter.admin.es6.js index fe2cca742c67..6d3b97a9e9ff 100644 --- a/core/modules/filter/filter.admin.es6.js +++ b/core/modules/filter/filter.admin.es6.js @@ -56,11 +56,10 @@ // Attach summary for configurable filters (only for screen readers). if (filterSettingsTab) { - filterSettingsTab.details.drupalSetSummary( - () => - $checkbox.is(':checked') - ? Drupal.t('Enabled') - : Drupal.t('Disabled'), + filterSettingsTab.details.drupalSetSummary(() => + $checkbox.is(':checked') + ? Drupal.t('Enabled') + : Drupal.t('Disabled'), ); } diff --git a/core/modules/quickedit/js/theme.es6.js b/core/modules/quickedit/js/theme.es6.js index a528404f1238..17640feec00c 100644 --- a/core/modules/quickedit/js/theme.es6.js +++ b/core/modules/quickedit/js/theme.es6.js @@ -34,9 +34,7 @@ */ Drupal.theme.quickeditEntityToolbar = function(settings) { let html = ''; - html += `
    `; + html += `
    `; html += ''; html += '
    '; html += diff --git a/core/modules/system/js/system.date.es6.js b/core/modules/system/js/system.date.es6.js index 91b177309fc4..46dac9f5ac95 100644 --- a/core/modules/system/js/system.date.es6.js +++ b/core/modules/system/js/system.date.es6.js @@ -38,9 +38,8 @@ */ function dateFormatHandler(e) { const baseValue = $(e.target).val() || ''; - const dateString = baseValue.replace( - /\\?(.?)/gi, - (key, value) => (dateFormats[key] ? dateFormats[key] : value), + const dateString = baseValue.replace(/\\?(.?)/gi, (key, value) => + dateFormats[key] ? dateFormats[key] : value, ); $preview.text(dateString); diff --git a/core/modules/toolbar/js/toolbar.menu.es6.js b/core/modules/toolbar/js/toolbar.menu.es6.js index 614574ef7264..3117f0722418 100644 --- a/core/modules/toolbar/js/toolbar.menu.es6.js +++ b/core/modules/toolbar/js/toolbar.menu.es6.js @@ -197,8 +197,6 @@ * A string representing a DOM fragment. */ Drupal.theme.toolbarMenuItemToggle = function(options) { - return ``; + return ``; }; })(jQuery, Drupal, drupalSettings); diff --git a/core/modules/user/user.es6.js b/core/modules/user/user.es6.js index a91b9a123984..d5b8d20060d9 100644 --- a/core/modules/user/user.es6.js +++ b/core/modules/user/user.es6.js @@ -47,9 +47,7 @@ // If the password strength indicator is enabled, add its markup. if (settings.password.showStrengthIndicator) { - const passwordMeter = `
    ${ - translate.strengthTitle - }
    `; + const passwordMeter = `
    ${translate.strengthTitle}
    `; $confirmInput .parent() .after('
    '); diff --git a/core/modules/user/user.theme.es6.js b/core/modules/user/user.theme.es6.js index f3e14650366e..7178eb8609c8 100644 --- a/core/modules/user/user.theme.es6.js +++ b/core/modules/user/user.theme.es6.js @@ -11,7 +11,5 @@ * A string representing a DOM fragment. */ Drupal.theme.passwordConfirmMessage = translate => - `
    ${ - translate.confirmTitle - }
    `; + `
    ${translate.confirmTitle}
    `; })(Drupal); diff --git a/core/themes/stable/js/user.theme.es6.js b/core/themes/stable/js/user.theme.es6.js index 4f10529b007e..125bb8a39c56 100644 --- a/core/themes/stable/js/user.theme.es6.js +++ b/core/themes/stable/js/user.theme.es6.js @@ -11,7 +11,5 @@ * A string representing a DOM fragment. */ Drupal.theme.passwordConfirmMessage = translate => - `
    ${ - translate.confirmTitle - }
    `; + `
    ${translate.confirmTitle}
    `; })(Drupal);