Loading core/misc/ajax.es6.js +0 −10 Original line number Diff line number Diff line Loading @@ -417,16 +417,6 @@ */ this.element = element; /** * @deprecated in drupal:8.5.0 and is removed from drupal:10.0.0. * Use elementSettings. * * @see https://www.drupal.org/node/2928117 * * @type {Drupal.Ajax~elementSettings} */ this.element_settings = elementSettings; /** * @type {Drupal.Ajax~elementSettings} */ Loading core/misc/ajax.js +0 −1 Original line number Diff line number Diff line Loading @@ -175,7 +175,6 @@ } this.element = element; this.element_settings = elementSettings; this.elementSettings = elementSettings; if (this.element && this.element.form) { Loading core/misc/cspell/dictionary.txt +0 −1 Original line number Diff line number Diff line Loading @@ -187,7 +187,6 @@ canonicalizing canvastext castable catalana catbro catchable ccyy ccyymm Loading core/modules/system/tests/modules/js_ajax_test/js/js_ajax_test.ajax.es6.jsdeleted 100644 → 0 +0 −29 Original line number Diff line number Diff line /** * @file * Testing behavior for JSWebAssertTest. */ (function ($, Drupal) { /** * Test Ajax command. * * @param {Drupal.Ajax} [ajax] * {@link Drupal.Ajax} object created by {@link Drupal.Ajax}. * @param {object} response * The response from the Ajax request. * @param {string} response.selector * A jQuery selector string. */ Drupal.AjaxCommands.prototype.jsAjaxTestCommand = function (ajax, response) { const $domElement = $(response.selector); ajax.element_settings.cat = 'catbro'; const data = { element_settings: ajax.element_settings.cat || {}, elementSettings: ajax.elementSettings.cat || {}, }; $domElement.html( `<div id="js_ajax_test_form_element">${JSON.stringify(data)}</div>`, ); }; })(jQuery, Drupal); core/modules/system/tests/modules/js_ajax_test/js/js_ajax_test.ajax.jsdeleted 100644 → 0 +0 −18 Original line number Diff line number Diff line /** * DO NOT EDIT THIS FILE. * See the following change record for more information, * https://www.drupal.org/node/2815083 * @preserve **/ (function ($, Drupal) { Drupal.AjaxCommands.prototype.jsAjaxTestCommand = function (ajax, response) { const $domElement = $(response.selector); ajax.element_settings.cat = 'catbro'; const data = { element_settings: ajax.element_settings.cat || {}, elementSettings: ajax.elementSettings.cat || {} }; $domElement.html(`<div id="js_ajax_test_form_element">${JSON.stringify(data)}</div>`); }; })(jQuery, Drupal); No newline at end of file Loading
core/misc/ajax.es6.js +0 −10 Original line number Diff line number Diff line Loading @@ -417,16 +417,6 @@ */ this.element = element; /** * @deprecated in drupal:8.5.0 and is removed from drupal:10.0.0. * Use elementSettings. * * @see https://www.drupal.org/node/2928117 * * @type {Drupal.Ajax~elementSettings} */ this.element_settings = elementSettings; /** * @type {Drupal.Ajax~elementSettings} */ Loading
core/misc/ajax.js +0 −1 Original line number Diff line number Diff line Loading @@ -175,7 +175,6 @@ } this.element = element; this.element_settings = elementSettings; this.elementSettings = elementSettings; if (this.element && this.element.form) { Loading
core/misc/cspell/dictionary.txt +0 −1 Original line number Diff line number Diff line Loading @@ -187,7 +187,6 @@ canonicalizing canvastext castable catalana catbro catchable ccyy ccyymm Loading
core/modules/system/tests/modules/js_ajax_test/js/js_ajax_test.ajax.es6.jsdeleted 100644 → 0 +0 −29 Original line number Diff line number Diff line /** * @file * Testing behavior for JSWebAssertTest. */ (function ($, Drupal) { /** * Test Ajax command. * * @param {Drupal.Ajax} [ajax] * {@link Drupal.Ajax} object created by {@link Drupal.Ajax}. * @param {object} response * The response from the Ajax request. * @param {string} response.selector * A jQuery selector string. */ Drupal.AjaxCommands.prototype.jsAjaxTestCommand = function (ajax, response) { const $domElement = $(response.selector); ajax.element_settings.cat = 'catbro'; const data = { element_settings: ajax.element_settings.cat || {}, elementSettings: ajax.elementSettings.cat || {}, }; $domElement.html( `<div id="js_ajax_test_form_element">${JSON.stringify(data)}</div>`, ); }; })(jQuery, Drupal);
core/modules/system/tests/modules/js_ajax_test/js/js_ajax_test.ajax.jsdeleted 100644 → 0 +0 −18 Original line number Diff line number Diff line /** * DO NOT EDIT THIS FILE. * See the following change record for more information, * https://www.drupal.org/node/2815083 * @preserve **/ (function ($, Drupal) { Drupal.AjaxCommands.prototype.jsAjaxTestCommand = function (ajax, response) { const $domElement = $(response.selector); ajax.element_settings.cat = 'catbro'; const data = { element_settings: ajax.element_settings.cat || {}, elementSettings: ajax.elementSettings.cat || {} }; $domElement.html(`<div id="js_ajax_test_form_element">${JSON.stringify(data)}</div>`); }; })(jQuery, Drupal); No newline at end of file