diff --git a/lib/clear.js b/lib/clear.js index ad30be3..92ce03a 100644 --- a/lib/clear.js +++ b/lib/clear.js @@ -2,8 +2,6 @@ * Clear utility */ -import remove from './remove'; - /** * Removes all children from the given element * @@ -14,7 +12,7 @@ export default function clear(element) { var child; while ((child = element.firstChild)) { - remove(child); + element.removeChild(child); } return element;