MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / removeComments

Function removeComments

web/static/bower_components/angular/angular.js:8984–8999  ·  view source on GitHub ↗
(jqNodes)

Source from the content-addressed store, hash-verified

8982}
8983
8984function removeComments(jqNodes) {
8985 jqNodes = jqLite(jqNodes);
8986 var i = jqNodes.length;
8987
8988 if (i <= 1) {
8989 return jqNodes;
8990 }
8991
8992 while (i--) {
8993 var node = jqNodes[i];
8994 if (node.nodeType === NODE_TYPE_COMMENT) {
8995 splice.call(jqNodes, i, 1);
8996 }
8997 }
8998 return jqNodes;
8999}
9000
9001var $controllerMinErr = minErr('$controller');
9002

Callers 2

applyDirectivesToNodeFunction · 0.85
compileTemplateUrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected