MCPcopy Create free account
hub / github.com/zhongsp/TypeScript / removeChildren

Function removeChildren

docs/searcher.js:61–65  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

59 }
60
61 function removeChildren(elem) {
62 while (elem.firstChild) {
63 elem.removeChild(elem.firstChild);
64 }
65 }
66
67 // Helper to parse a url into its building blocks.
68 function parseURL(url) {

Callers 2

searchbarKeyUpHandlerFunction · 0.85
doSearchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected