MCPcopy Index your code
hub / github.com/angular-ui/ui-router / jqLiteAddNodes

Function jqLiteAddNodes

test/angular/1.2/angular.js:2521–2530  ·  view source on GitHub ↗
(root, elements)

Source from the content-addressed store, hash-verified

2519}
2520
2521function jqLiteAddNodes(root, elements) {
2522 if (elements) {
2523 elements = (!elements.nodeName && isDefined(elements.length) && !isWindow(elements))
2524 ? elements
2525 : [ elements ];
2526 for(var i=0; i < elements.length; i++) {
2527 root.push(elements[i]);
2528 }
2529 }
2530}
2531
2532function jqLiteController(element, name) {
2533 return jqLiteInheritedData(element, '$' + (name || 'ngController' ) + 'Controller');

Callers 2

JQLiteFunction · 0.70
angular.jsFile · 0.70

Calls 2

isDefinedFunction · 0.70
isWindowFunction · 0.70

Tested by

no test coverage detected