Skip to content
Snippets Groups Projects
Verified Commit ffcce9c6 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3418332 by Tom Konda: Replace uncommon HTMLDocument with Document in JSDoc

parent ce9604c4
No related branches found
No related tags found
No related merge requests found
...@@ -71,7 +71,7 @@ window.Drupal = { behaviors: {}, locale: {} }; ...@@ -71,7 +71,7 @@ window.Drupal = { behaviors: {}, locale: {} };
* *
* @callback Drupal~behaviorAttach * @callback Drupal~behaviorAttach
* *
* @param {HTMLDocument|HTMLElement} context * @param {Document|HTMLElement} context
* An element to detach behaviors from. * An element to detach behaviors from.
* @param {?object} settings * @param {?object} settings
* An object containing settings for the current context. It is rarely used. * An object containing settings for the current context. It is rarely used.
...@@ -84,7 +84,7 @@ window.Drupal = { behaviors: {}, locale: {} }; ...@@ -84,7 +84,7 @@ window.Drupal = { behaviors: {}, locale: {} };
* *
* @callback Drupal~behaviorDetach * @callback Drupal~behaviorDetach
* *
* @param {HTMLDocument|HTMLElement} context * @param {Document|HTMLElement} context
* An element to attach behaviors to. * An element to attach behaviors to.
* @param {object} settings * @param {object} settings
* An object containing settings for the current context. * An object containing settings for the current context.
...@@ -143,7 +143,7 @@ window.Drupal = { behaviors: {}, locale: {} }; ...@@ -143,7 +143,7 @@ window.Drupal = { behaviors: {}, locale: {} };
* } * }
* }; * };
* *
* @param {HTMLDocument|HTMLElement} [context=document] * @param {Document|HTMLElement} [context=document]
* An element to attach behaviors to. * An element to attach behaviors to.
* @param {object} [settings=drupalSettings] * @param {object} [settings=drupalSettings]
* An object containing settings for the current context. If none is given, * An object containing settings for the current context. If none is given,
...@@ -183,7 +183,7 @@ window.Drupal = { behaviors: {}, locale: {} }; ...@@ -183,7 +183,7 @@ window.Drupal = { behaviors: {}, locale: {} };
* implementation, i.e. `once.remove('behaviorName', selector, context)`, * implementation, i.e. `once.remove('behaviorName', selector, context)`,
* to ensure the behavior is detached only from previously processed elements. * to ensure the behavior is detached only from previously processed elements.
* *
* @param {HTMLDocument|HTMLElement} [context=document] * @param {Document|HTMLElement} [context=document]
* An element to detach behaviors from. * An element to detach behaviors from.
* @param {object} [settings=drupalSettings] * @param {object} [settings=drupalSettings]
* An object containing settings for the current context. If none given, * An object containing settings for the current context. If none given,
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
/** /**
* Create a summary for checkboxes in the provided context. * Create a summary for checkboxes in the provided context.
* *
* @param {HTMLDocument|HTMLElement} context * @param {Document|HTMLElement} context
* A context where one would find checkboxes to summarize. * A context where one would find checkboxes to summarize.
* *
* @return {string} * @return {string}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment