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

Function createContainer

ads/vendors/rbinfox.js:23–27  ·  view source on GitHub ↗

* @param {!Window} global * @param {string} renderTo

(global, renderTo)

Source from the content-addressed store, hash-verified

21 * @param {string} renderTo
22 */
23function createContainer(global, renderTo) {
24 const d = global.document.createElement('div');
25 d.id = renderTo;
26 global.document.getElementById('c').appendChild(d);
27}
28
29/**
30 * @param {string} src

Callers 1

addToQueueFunction · 0.70

Calls 1

getElementByIdMethod · 0.45

Tested by

no test coverage detected