mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +01:00
[refactor] Removed unused imports/exports
This commit is contained in:
parent
6701503c78
commit
bcc6d39b10
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user