Initial commit
This commit is contained in:
7
js/helpers.js
Normal file
7
js/helpers.js
Normal file
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
function nukeChildren(node) {
|
||||
while (node.childNodes.length > 0) {
|
||||
node.removeChild(node.childNodes[0]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user