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

Method upgrade

src/polyfills/custom-elements.js:170–172  ·  view source on GitHub ↗

* Upgrade all custom elements inside root. * * @param {!Node} root

(root)

Source from the content-addressed store, hash-verified

168 * @param {!Node} root
169 */
170 upgrade(root) {
171 this.registry_.upgrade(root);
172 }
173}
174
175/**

Callers

nothing calls this directly

Calls 1

upgradeMethod · 0.45

Tested by

no test coverage detected