mirror of
https://github.com/badges/shields.git
synced 2025-04-18 19:44:04 +03:00
Two minor docstring fixes (#7216)
* fix XmlElement ref in docstring * make sure jsdoc picks up renderDownloadsBadge() docstring
This commit is contained in:
parent
eb07b60cf0
commit
32dd99c540
@ -33,7 +33,7 @@ class XmlElement {
|
||||
* @param {object} attrs Refer to individual attrs
|
||||
* @param {string} attrs.name
|
||||
* Name of the XML tag
|
||||
* @param {Array.<string|module:badge-maker/lib/xml-element~XmlElement>} [attrs.content=[]]
|
||||
* @param {Array.<string|module:badge-maker/lib/xml~XmlElement>} [attrs.content=[]]
|
||||
* Array of objects to render inside the tag. content may contain a mix of
|
||||
* string and XmlElement objects. If content is `[]` or ommitted the
|
||||
* element will be rendered as a self-closing element.
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @module
|
||||
*/
|
||||
|
||||
import { downloadCount } from './color-formatters.js'
|
||||
import { metric } from './text-formatters.js'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user