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

Function installDocumentInfoServiceForDoc

src/service/document-info-impl.js:43–45  ·  view source on GitHub ↗
(nodeOrDoc)

Source from the content-addressed store, hash-verified

41 * @return {*} TODO(#23582): Specify return type
42 */
43export function installDocumentInfoServiceForDoc(nodeOrDoc) {
44 return registerServiceBuilderForDoc(nodeOrDoc, 'documentInfo', DocInfo);
45}
46
47export class DocInfo {
48 /**

Callers 9

test-viewer.jsFile · 0.90
getReplacementsFunction · 0.90
getFakeWindowFunction · 0.90
getWinFunction · 0.90
test-cid.jsFile · 0.90

Calls 1

Tested by

no test coverage detected