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

Function getServiceInEmbedWin

src/service-helpers.js:152–154  ·  view source on GitHub ↗
(win, id)

Source from the content-addressed store, hash-verified

150 * @return {T}
151 */
152export function getServiceInEmbedWin(win, id) {
153 return getServiceInternal(win, id);
154}
155
156/**
157 * Returns a promise for a service for the given id and window. Also expects an

Callers 3

test-service.jsFile · 0.90
index.jsFile · 0.90

Calls 1

getServiceInternalFunction · 0.85

Tested by

no test coverage detected