diff --git a/core/modules/color/preview.js b/core/modules/color/preview.js index 4250a277c2..49ee58f00a 100644 --- a/core/modules/color/preview.js +++ b/core/modules/color/preview.js @@ -40,4 +40,4 @@ }); } }; -})(jQuery, Drupal); +})(jQuery, Drupal); \ No newline at end of file diff --git a/core/modules/content_translation/content_translation.admin.js b/core/modules/content_translation/content_translation.admin.js index e7101f0e1a..03ee6a2a2e 100644 --- a/core/modules/content_translation/content_translation.admin.js +++ b/core/modules/content_translation/content_translation.admin.js @@ -89,4 +89,4 @@ }); } }; -})(jQuery, Drupal, drupalSettings); +})(jQuery, Drupal, drupalSettings); \ No newline at end of file diff --git a/core/modules/system/tests/modules/js_ajax_test/js/js_ajax_test.ajax.es6.js b/core/modules/system/tests/modules/js_ajax_test/js/js_ajax_test.ajax.es6.js index 5114611505..c6ff67967c 100644 --- a/core/modules/system/tests/modules/js_ajax_test/js/js_ajax_test.ajax.es6.js +++ b/core/modules/system/tests/modules/js_ajax_test/js/js_ajax_test.ajax.es6.js @@ -6,10 +6,10 @@ (function ($, Drupal) { /** - * Test ajax command. + * Test Ajax command. * * @param {Drupal.Ajax} [ajax] - * {@link Drupal.Ajax} object created by {@link Drupal.ajax}. + * {@link Drupal.Ajax} object created by {@link Drupal.Ajax}. * @param {object} response * The response from the Ajax request. * @param {string} response.selector @@ -18,7 +18,6 @@ Drupal.AjaxCommands.prototype.jsAjaxTestCommand = function (ajax, response) { const $domElement = $(response.selector); ajax.element_settings.cat = 'catbro'; - debugger; const data = { element_settings: ajax.element_settings.cat || {}, diff --git a/core/modules/system/tests/modules/js_ajax_test/js/js_ajax_test.ajax.js b/core/modules/system/tests/modules/js_ajax_test/js/js_ajax_test.ajax.js index c17bfde38c..b778339d44 100644 --- a/core/modules/system/tests/modules/js_ajax_test/js/js_ajax_test.ajax.js +++ b/core/modules/system/tests/modules/js_ajax_test/js/js_ajax_test.ajax.js @@ -9,7 +9,6 @@ Drupal.AjaxCommands.prototype.jsAjaxTestCommand = function (ajax, response) { var $domElement = $(response.selector); ajax.element_settings.cat = 'catbro'; - debugger; var data = { element_settings: ajax.element_settings.cat || {}, diff --git a/core/modules/system/tests/modules/js_ajax_test/js_ajax_test.info.yml b/core/modules/system/tests/modules/js_ajax_test/js_ajax_test.info.yml index b11dd68cf5..dfe01cec56 100644 --- a/core/modules/system/tests/modules/js_ajax_test/js_ajax_test.info.yml +++ b/core/modules/system/tests/modules/js_ajax_test/js_ajax_test.info.yml @@ -1,4 +1,5 @@ -name: 'JS ajax test' +name: 'JS Ajax test' +description: 'Provides custom ajax commands used for tests' type: module description: '' package: Testing diff --git a/core/modules/system/tests/modules/js_ajax_test/src/Ajax/JsAjaxTestCommand.php b/core/modules/system/tests/modules/js_ajax_test/src/Ajax/JsAjaxTestCommand.php index a76d42c425..3464139189 100644 --- a/core/modules/system/tests/modules/js_ajax_test/src/Ajax/JsAjaxTestCommand.php +++ b/core/modules/system/tests/modules/js_ajax_test/src/Ajax/JsAjaxTestCommand.php @@ -5,7 +5,7 @@ use Drupal\Core\Ajax\CommandInterface; /** - * Test ajax command. + * Test Ajax command. */ class JsAjaxTestCommand implements CommandInterface { diff --git a/core/modules/system/tests/modules/js_ajax_test/src/Form/JsAjaxTestForm.php b/core/modules/system/tests/modules/js_ajax_test/src/Form/JsAjaxTestForm.php index f5895ea096..d3907129df 100644 --- a/core/modules/system/tests/modules/js_ajax_test/src/Form/JsAjaxTestForm.php +++ b/core/modules/system/tests/modules/js_ajax_test/src/Form/JsAjaxTestForm.php @@ -22,7 +22,7 @@ public function getFormId() { } /** - * Form for testing the addition of various types of elements via AJAX. + * Form for testing the addition of various types of elements via Ajax. */ public function buildForm(array $form, FormStateInterface $form_state) { $form['#attached']['library'][] = 'js_ajax_test/ajax'; @@ -58,7 +58,7 @@ public static function addButton(array $form, FormStateInterface $form_state) { * {@inheritdoc} */ public function submitForm(array &$form, FormStateInterface $form_state) { - + // Nothing to do. } }