Commit fe076507 authored by catch's avatar catch
Browse files

Issue #3114116 by lauriii, andypost, Gábor Hojtsy: Re-schedule removal of...

Issue #3114116 by lauriii, andypost, Gábor Hojtsy: Re-schedule removal of deprecated JavaScript code to Drupal 10
parent 7dcbb0e1
......@@ -421,9 +421,11 @@
this.element = element;
/**
* @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
* @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;
......@@ -1119,13 +1121,13 @@
* @param {object} response
* The response from the Ajax request.
*
* @deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0.
* Use data with desired wrapper. See https://www.drupal.org/node/2974880.
* @deprecated in drupal:8.6.0 and is removed from drupal:10.0.0.
* Use data with desired wrapper.
*
* @see https://www.drupal.org/node/2940704
*
* @todo Add deprecation warning after it is possible. For more information
* see: https://www.drupal.org/project/drupal/issues/2973400
*
* @see https://www.drupal.org/node/2940704
*/
Drupal.theme.ajaxWrapperNewContent = ($newContent, ajax, response) =>
(response.effect || ajax.effect) !== 'none' &&
......@@ -1150,13 +1152,13 @@
* @param {jQuery} $elements
* Response elements after parsing.
*
* @deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0.
* Use data with desired wrapper. See https://www.drupal.org/node/2974880.
* @deprecated in drupal:8.6.0 and is removed from drupal:10.0.0.
* Use data with desired wrapper.
*
* @see https://www.drupal.org/node/2940704
*
* @todo Add deprecation warning after it is possible. For more information
* see: https://www.drupal.org/project/drupal/issues/2973400
*
* @see https://www.drupal.org/node/2940704
*/
Drupal.theme.ajaxWrapperMultipleRootElements = $elements =>
$('<div></div>').append($elements);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment