MCPcopy
hub / github.com/angular-ui/ui-router / jqLiteWrapNode

Function jqLiteWrapNode

test/angular/1.4/angular.js:2815–2823  ·  view source on GitHub ↗
(node, wrapper)

Source from the content-addressed store, hash-verified

2813}
2814
2815function jqLiteWrapNode(node, wrapper) {
2816 var parent = node.parentNode;
2817
2818 if (parent) {
2819 parent.replaceChild(wrapper, node);
2820 }
2821
2822 wrapper.appendChild(node);
2823}
2824
2825
2826// IE9-11 has no method "contains" in SVG element and in Node.prototype. Bug #10259.

Callers 2

angular.jsFile · 0.70
compileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected