MCPcopy
hub / github.com/ampproject/amphtml / installUrlReplacementsForEmbed

Function installUrlReplacementsForEmbed

src/service/url-replacements-impl.js:1246–1252  ·  view source on GitHub ↗
(ampdoc, varSource)

Source from the content-addressed store, hash-verified

1244 * @param {!VariableSource} varSource
1245 */
1246export function installUrlReplacementsForEmbed(ampdoc, varSource) {
1247 installServiceInEmbedDoc(
1248 ampdoc,
1249 'url-replace',
1250 new UrlReplacements(ampdoc, varSource)
1251 );
1252}
1253
1254/**
1255 * @typedef {{incomingFragment: string, outgoingFragment: string}}

Callers 3

test-amp-pixel.jsFile · 0.90
preinstallCallback_Method · 0.90

Calls 1

installServiceInEmbedDocFunction · 0.90

Tested by

no test coverage detected