schoolbox web extension :)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: remove redundant constructor assignments

willow 5f358eb4 e06bbc5d

-7
-4
src/utils/plugin.ts
··· 26 26 private uninjectCallback: (settings: T) => Promise<void> | void, 27 27 private elementsToWaitFor: string[] = [], 28 28 ) { 29 - this.meta = meta; 30 - this.elementsToWaitFor = elementsToWaitFor; 31 - this.injectCallback = injectCallback; 32 - this.uninjectCallback = uninjectCallback; 33 29 if (settings && settings.menu) this.menu = settings.menu; 34 30 35 31 // init plugin storage
-3
src/utils/snippet.ts
··· 18 18 defaultToggle: boolean, 19 19 private styleText: string, 20 20 ) { 21 - this.meta = meta; 22 - this.styleText = styleText; // TODO: check if can remove this 23 - 24 21 // init snippet storage 25 22 this.toggle = new StorageState( 26 23 storage.defineItem(`local:snippet-${meta.id}`, {