MCPcopy Index your code
hub / github.com/ampproject/amphtml / removeNoScriptElements

Function removeNoScriptElements

src/utils/dom-writer.js:332–334  ·  view source on GitHub ↗
(parent)

Source from the content-addressed store, hash-verified

330 * @param {!Element} parent
331 */
332export function removeNoScriptElements(parent) {
333 childElementsByTag(parent, 'noscript').forEach(removeElement);
334}

Callers 3

transferBodyChunk_Method · 0.90
merge_Method · 0.85
complete_Method · 0.85

Calls 2

childElementsByTagFunction · 0.90
forEachMethod · 0.45

Tested by

no test coverage detected