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

Method hasValidAmpScriptPath

validator/js/engine/htmlparser-interface.js:366–368  ·  view source on GitHub ↗

* Tests if this tag is a script with a valid AMP script path. * @return {boolean}

()

Source from the content-addressed store, hash-verified

364 * @return {boolean}
365 */
366 hasValidAmpScriptPath() {
367 return this.scriptTag_.hasValidPath;
368 }
369 /**
370 * Tests if this tag is a script with a src of an AMP domain.
371 * @return {boolean}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected