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

Function installPlatformService

src/service/platform-impl.js:200–202  ·  view source on GitHub ↗
(window)

Source from the content-addressed store, hash-verified

198 * @param {!Window} window
199 */
200export function installPlatformService(window) {
201 registerServiceBuilder(window, 'platform', Platform);
202}

Callers 15

test-amp-ad-3p.jsFile · 0.90
test-viewer.jsFile · 0.90
test-runtime.jsFile · 0.90
test-cid.jsFile · 0.90
test-activity.jsFile · 0.90
test-viewport.jsFile · 0.90
amp.jsFile · 0.90

Calls 1

registerServiceBuilderFunction · 0.90

Tested by

no test coverage detected