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

Method getAmpScriptPath

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

* Returns the script tag path of the 'src' attribute. * @return {string}

()

Source from the content-addressed store, hash-verified

357 * @return {string}
358 */
359 getAmpScriptPath() {
360 return this.scriptTag_.path;
361 }
362 /**
363 * Tests if this tag is a script with a valid AMP script path.
364 * @return {boolean}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected