Skip to content

Commit f4ead6b

Browse files
authored
Embedded js: update docstring (#9547)
Forgot to push these changes ref https://github.com/readthedocs/readthedocs.org/pull/9515/files#r952983739
1 parent ac1dc7c commit f4ead6b

File tree

1 file changed

+3
-3
lines changed
  • readthedocs/core/static-src/core/js/doc-embed

1 file changed

+3
-3
lines changed

readthedocs/core/static-src/core/js/doc-embed/utils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**
22
* Create and return DOM nodes with given attributes.
33
*
4-
* @param {String} nodeName name of the node
5-
* @param {Object} attributes obj of attributes to be assigned to the node
6-
* @return {Object} DOM node
4+
* @param {String} nodeName - Name of the node.
5+
* @param {Object} attributes - Obj of attributes to be assigned to the node.
6+
* @return {Object} DOM node.
77
*/
88
const createDomNode = (nodeName, attributes) => {
99
let node = document.createElement(nodeName);

0 commit comments

Comments
 (0)