From 7381e7b3823d5f163ca2db881aa3b36b05307194 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Wed, 11 Jan 2023 15:49:14 +0400 Subject: [PATCH] Cleanup --- src/style_manager/index.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/style_manager/index.ts b/src/style_manager/index.ts index ef6560a20..a3ab00536 100644 --- a/src/style_manager/index.ts +++ b/src/style_manager/index.ts @@ -146,12 +146,8 @@ export default class StyleManager extends ItemManagerModule< this.builtIn = new PropertyFactory(); this.properties = new Properties([], { em, module: this }); this.sectors = this.all; // TODO check if (module: this) is required - // this.sectors = new Sectors([], { ...c, module: this }); const model = new Model({ targets: [] }); this.model = model; - // this.__listenAdd(sectors, evSectorAdd); - // this.__listenRemove(sectors, evSectorRemove); - // this.__listenUpdate(sectors, evSectorUpdate); // Triggers for the selection refresh and properties const ev = 'component:toggled component:update:classes change:state change:device frame:resized selector:type'; @@ -173,8 +169,6 @@ export default class StyleManager extends ItemManagerModule< // Other listeners model.on('change:lastTarget', () => em.trigger(evTarget, this.getSelected())); - - return this; } __upSel() {