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

Function parallelDownloadScriptsAndExecuteInOrder

ads/vendors/vmfive.js:26–36  ·  view source on GitHub ↗

* @param {!Window} win

(win)

Source from the content-addressed store, hash-verified

24 * @param {!Window} win
25 */
26function parallelDownloadScriptsAndExecuteInOrder(win) {
27 [
28 'https://vawpro.vm5apis.com/man.js',
29 'https://man.vm5apis.com/dist/adn-web-sdk.js',
30 ].forEach(function (src) {
31 const script = document.createElement('script');
32 script.src = src;
33 script.async = false;
34 win.document.head.appendChild(script);
35 });
36}
37
38/**
39 * @param {!Window} win

Callers 1

vmfiveFunction · 0.85

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected