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

Method reset

third_party/subscriptions-project/swg.js:15535–15540  ·  view source on GitHub ↗

* Clears the singleton variables.

()

Source from the content-addressed store, hash-verified

15533 * Clears the singleton variables.
15534 */
15535 static reset() {
15536 iframe = null;
15537 buffer.length = 0;
15538 iframeLoaded = false;
15539 buyFlowActivityMode = null;
15540 }
15541
15542 /**
15543 * Sets whether the iframe has been loaded or not.

Callers 15

setupSpysFunction · 0.45
test-scheduler.jsFile · 0.45
test-navigation.jsFile · 0.45
test-signals.jsFile · 0.45
testPositionCallbackFunction · 0.45
warnForConsoleErrorFunction · 0.45
OtFunction · 0.45
d3.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected