From bcc6d39b100544d12c88d63dcfb1025a6325e5b4 Mon Sep 17 00:00:00 2001 From: Steven Evans Date: Thu, 5 Jul 2018 17:00:19 -0400 Subject: [PATCH] [refactor] Removed unused imports/exports --- utils/HelperFunctions.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/utils/HelperFunctions.js b/utils/HelperFunctions.js index c56cbb9d9..77fc83b06 100644 --- a/utils/HelperFunctions.js +++ b/utils/HelperFunctions.js @@ -1,15 +1,5 @@ //General helper functions import {isString} from "./helpers/isString"; -import { createElement } from "./uiHelpers/createElement"; - -//Returns the size (number of keys) of an object -function sizeOfObject(obj) { - var size = 0, key; - for (key in obj) { - if (obj.hasOwnProperty(key)) size++; - } - return size; -} function clearObject(obj) { for (var key in obj) { @@ -90,8 +80,7 @@ function clearSelector(selector) { } } -export {sizeOfObject, - clearObject, +export {clearObject, clearEventListeners, clearEventListenersEl, removeElement,