MCPcopy Index your code
hub / github.com/ampproject/amphtml / installTemplatesServiceForDoc

Function installTemplatesServiceForDoc

src/service/template-impl.js:343–345  ·  view source on GitHub ↗
(ampdoc)

Source from the content-addressed store, hash-verified

341 * @param {!./ampdoc-impl.AmpDoc} ampdoc
342 */
343export function installTemplatesServiceForDoc(ampdoc) {
344 registerServiceBuilderForDoc(ampdoc, 'templates', Templates);
345}
346
347/**
348 * Registers an extended template. This function should typically be called

Callers 5

test-extensions.jsFile · 0.90
test-runtime.jsFile · 0.90
test-template.jsFile · 0.90

Calls 1

Tested by

no test coverage detected