diff options
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 21 |
1 files changed, 1 insertions, 20 deletions
@@ -1,25 +1,6 @@ /// <reference types="../CTAutocomplete" /> /// <reference lib="es2015" /> -import SoopyGuiElement from "../guimanager/GuiElement/SoopyGuiElement.js" -import SoopyBoxElement from "../guimanager/GuiElement/SoopyBoxElement" - -SoopyGuiElement.prototype.clearChildren = function (){ - let theParent = this.innerObjectPaddingThing || this - theParent.children.forEach(child => { - child.setParent(undefined) - }); - theParent.children = [] - return this -} -SoopyBoxElement.prototype.clearChildren = function (){ - let theParent = this.innerObjectPaddingThing || this - theParent.children.forEach(child => { - child.setParent(undefined) - }); - theParent.children = [] - return this -} class SoopyAddons { constructor(){ this.FeatureManager = require("./featureClass/featureManager.js") @@ -28,4 +9,4 @@ class SoopyAddons { } } -soopyAddons = new SoopyAddons()
\ No newline at end of file +new SoopyAddons()
\ No newline at end of file |