projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Version 1
[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
}