MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / removeComments

Function removeComments

lib/test/angular/1.5.0/angular.js:9703–9718  ·  view source on GitHub ↗
(jqNodes)

Source from the content-addressed store, hash-verified

9701}
9702
9703function removeComments(jqNodes) {
9704 jqNodes = jqLite(jqNodes);
9705 var i = jqNodes.length;
9706
9707 if (i <= 1) {
9708 return jqNodes;
9709 }
9710
9711 while (i--) {
9712 var node = jqNodes[i];
9713 if (node.nodeType === NODE_TYPE_COMMENT) {
9714 splice.call(jqNodes, i, 1);
9715 }
9716 }
9717 return jqNodes;
9718}
9719
9720var $controllerMinErr = minErr('$controller');
9721

Callers 2

applyDirectivesToNodeFunction · 0.70
compileTemplateUrlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected