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

Function removeComments

test/angular/1.3/angular.js:8374–8389  ·  view source on GitHub ↗
(jqNodes)

Source from the content-addressed store, hash-verified

8372}
8373
8374function removeComments(jqNodes) {
8375 jqNodes = jqLite(jqNodes);
8376 var i = jqNodes.length;
8377
8378 if (i <= 1) {
8379 return jqNodes;
8380 }
8381
8382 while (i--) {
8383 var node = jqNodes[i];
8384 if (node.nodeType === NODE_TYPE_COMMENT) {
8385 splice.call(jqNodes, i, 1);
8386 }
8387 }
8388 return jqNodes;
8389}
8390
8391var $controllerMinErr = minErr('$controller');
8392

Callers 2

applyDirectivesToNodeFunction · 0.70
compileTemplateUrlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected