MCPcopy
hub / github.com/webpack/webpack / getElementsByTagName

Method getElementsByTagName

test/helpers/FakeDocument.js:78–80  ·  view source on GitHub ↗

* @param {string} name tag name * @returns {FakeElement[]} elements

(name)

Source from the content-addressed store, hash-verified

76 * @returns {FakeElement[]} elements
77 */
78 getElementsByTagName(name) {
79 return this._elementsByTagName.get(name) || [];
80 }
81
82 /**
83 * @param {string} selector selector

Callers 15

querySelectorAllMethod · 0.95
getComputedStyleMethod · 0.95
index.jsFile · 0.80
allStylesFunction · 0.80
allLinksFunction · 0.80
index.jsFile · 0.80
findOurLinkFunction · 0.80
index.jsFile · 0.80
index.jsFile · 0.80
index.jsFile · 0.80
index.jsFile · 0.80
findOurLinkFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected