projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d3ae66ab1aa1f407a2c8b4aa71ecb2605145ff30
[yaffs-website]
/
node_modules
/
min-document
/
test
/
cleanup.js
1
module.exports = Cleanup
2
3
function Cleanup (document) {
4
5
return cleanup
6
7
function cleanup () {
8
var childNodes = document.body.childNodes
9
for (var i = 0; i < childNodes.length; i++) {
10
document.body.removeChild(childNodes[i])
11
}
12
}
13
}