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

Function jqLiteEmpty

test/angular/1.2/angular.js:2556–2563  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

2554}
2555
2556function jqLiteEmpty(element) {
2557 for (var i = 0, childNodes = element.childNodes; i < childNodes.length; i++) {
2558 jqLiteDealoc(childNodes[i]);
2559 }
2560 while (element.firstChild) {
2561 element.removeChild(element.firstChild);
2562 }
2563}
2564
2565//////////////////////////////////////////
2566// Functions which are declared directly.

Callers

nothing calls this directly

Calls 1

jqLiteDealocFunction · 0.70

Tested by

no test coverage detected