MCPcopy Create free account
hub / github.com/ampproject/amphtml / install

Function install

src/polyfills/intersection-observer.js:19–24  ·  view source on GitHub ↗
(win)

Source from the content-addressed store, hash-verified

17 * @param {!Window} win
18 */
19export function install(win) {
20 if (shouldLoadPolyfill(win)) {
21 installStub(win);
22 }
23 fixEntry(win);
24}
25
26/**
27 * @param {!Window} parentWin

Callers 1

Calls 3

shouldLoadPolyfillFunction · 0.90
installStubFunction · 0.90
fixEntryFunction · 0.85

Tested by

no test coverage detected