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);