We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac1dc7c commit f4ead6bCopy full SHA for f4ead6b
readthedocs/core/static-src/core/js/doc-embed/utils.js
@@ -1,9 +1,9 @@
1
/**
2
* Create and return DOM nodes with given attributes.
3
*
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
+ * @param {String} nodeName - Name of the node.
+ * @param {Object} attributes - Obj of attributes to be assigned to the node.
+ * @return {Object} DOM node.
7
*/
8
const createDomNode = (nodeName, attributes) => {
9
let node = document.createElement(nodeName);
0 commit comments