MCPcopy
hub / github.com/webpack/webpack / _attach

Method _attach

test/helpers/FakeDocument.js:225–229  ·  view source on GitHub ↗

* @param {FakeElement} node node to attach * @returns {void}

(node)

Source from the content-addressed store, hash-verified

223 * @returns {void}
224 */
225 _attach(node) {
226 this._document._onElementAttached(node);
227 this._children.push(node);
228 node.parentNode = this;
229 }
230
231 /**
232 * @param {FakeElement} node node to load

Callers 2

insertBeforeMethod · 0.95
appendChildMethod · 0.95

Calls 2

_onElementAttachedMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected