MCPcopy Create free account
hub / github.com/angular-ui/ui-router / jqLiteWrapNode

Function jqLiteWrapNode

test/angular/1.5/angular.js:2978–2986  ·  view source on GitHub ↗
(node, wrapper)

Source from the content-addressed store, hash-verified

2976}
2977
2978function jqLiteWrapNode(node, wrapper) {
2979 var parent = node.parentNode;
2980
2981 if (parent) {
2982 parent.replaceChild(wrapper, node);
2983 }
2984
2985 wrapper.appendChild(node);
2986}
2987
2988
2989// 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