MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / removeComments

Function removeComments

code/songhop/www/lib/angular/angular.js:8287–8302  ·  view source on GitHub ↗
(jqNodes)

Source from the content-addressed store, hash-verified

8285}
8286
8287function removeComments(jqNodes) {
8288 jqNodes = jqLite(jqNodes);
8289 var i = jqNodes.length;
8290
8291 if (i <= 1) {
8292 return jqNodes;
8293 }
8294
8295 while (i--) {
8296 var node = jqNodes[i];
8297 if (node.nodeType === NODE_TYPE_COMMENT) {
8298 splice.call(jqNodes, i, 1);
8299 }
8300 }
8301 return jqNodes;
8302}
8303
8304/**
8305 * @ngdoc provider

Callers 2

applyDirectivesToNodeFunction · 0.70
compileTemplateUrlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected