MCPcopy Create free account
hub / github.com/ampproject/amphtml / unusedHtmlParser

Function unusedHtmlParser

validator/js/engine/htmlparser.js:1108–1113  ·  view source on GitHub ↗

* This function gets eliminated by closure compiler. It's purpose in life * is to work around a bug wherein the compiler renames the object keys * for objects never accessed using an array ([]) operator. We need the keys * to remain unchanged for these objects.

()

Source from the content-addressed store, hash-verified

1106 * to remain unchanged for these objects.
1107 */
1108function unusedHtmlParser() {
1109 console./*OK*/ log(ElementsWithNoEndElements['']);
1110 console./*OK*/ log(HtmlStructureElements['']);
1111 console./*OK*/ log(HeadElements['']);
1112 console./*OK*/ log(ElementsWhichClosePTag['']);
1113}

Callers

nothing calls this directly

Calls 1

logMethod · 0.45

Tested by

no test coverage detected