MCPcopy Create free account
hub / github.com/apache/cloudstack / JQLiteAddNodes

Function JQLiteAddNodes

tools/ngui/static/js/lib/angular.js:1717–1726  ·  view source on GitHub ↗
(root, elements)

Source from the content-addressed store, hash-verified

1715}
1716
1717function JQLiteAddNodes(root, elements) {
1718 if (elements) {
1719 elements = (!elements.nodeName && isDefined(elements.length) && !isWindow(elements))
1720 ? elements
1721 : [ elements ];
1722 for(var i=0; i < elements.length; i++) {
1723 root.push(elements[i]);
1724 }
1725 }
1726}
1727
1728function JQLiteController(element, name) {
1729 return JQLiteInheritedData(element, '$' + (name || 'ngController' ) + 'Controller');

Callers 2

JQLiteFunction · 0.85
angular.jsFile · 0.85

Calls 2

isDefinedFunction · 0.85
isWindowFunction · 0.85

Tested by

no test coverage detected