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

Function removeComments

lib/test/angular/1.4.3/angular.js:8847–8862  ·  view source on GitHub ↗
(jqNodes)

Source from the content-addressed store, hash-verified

8845}
8846
8847function removeComments(jqNodes) {
8848 jqNodes = jqLite(jqNodes);
8849 var i = jqNodes.length;
8850
8851 if (i <= 1) {
8852 return jqNodes;
8853 }
8854
8855 while (i--) {
8856 var node = jqNodes[i];
8857 if (node.nodeType === NODE_TYPE_COMMENT) {
8858 splice.call(jqNodes, i, 1);
8859 }
8860 }
8861 return jqNodes;
8862}
8863
8864var $controllerMinErr = minErr('$controller');
8865

Callers 2

applyDirectivesToNodeFunction · 0.70
compileTemplateUrlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected