(element, type)
| 3219 | |
| 3220 | |
| 3221 | function getDescendantsOfType(element, type) { |
| 3222 | return getDescendants(element).filter(function(descendant) { |
| 3223 | return descendant.type === type; |
| 3224 | }); |
| 3225 | } |
| 3226 | |
| 3227 | function getDescendants(element) { |
| 3228 | var descendants = []; |
nothing calls this directly
no test coverage detected