From aeac2abecd5e798ba186defb85e6de0fd69e85e7 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Wed, 24 Aug 2022 12:06:36 -0500 Subject: [PATCH] Embedded js: update docstring Forgot to push these changes ref https://github.com/readthedocs/readthedocs.org/pull/9515/files#r952983739 --- readthedocs/core/static-src/core/js/doc-embed/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/readthedocs/core/static-src/core/js/doc-embed/utils.js b/readthedocs/core/static-src/core/js/doc-embed/utils.js index 6b96562de05..dcfea044037 100644 --- a/readthedocs/core/static-src/core/js/doc-embed/utils.js +++ b/readthedocs/core/static-src/core/js/doc-embed/utils.js @@ -1,9 +1,9 @@ /** * Create and return DOM nodes with given attributes. * - * @param {String} nodeName name of the node - * @param {Object} attributes obj of attributes to be assigned to the node - * @return {Object} DOM node + * @param {String} nodeName - Name of the node. + * @param {Object} attributes - Obj of attributes to be assigned to the node. + * @return {Object} DOM node. */ const createDomNode = (nodeName, attributes) => { let node = document.createElement(nodeName);