Skip to content

Commit

Permalink
not all elements need eventize
Browse files Browse the repository at this point in the history
  • Loading branch information
spearwolf committed Nov 22, 2023
1 parent 167f7a0 commit 2275bfd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {consume, provide} from '@lit/context';
import {eventize, type Eventize} from '@spearwolf/eventize';
import {createEffect, type SignalReader} from '@spearwolf/signalize';
import {signal, signalReader} from '@spearwolf/signalize/decorators';
import {PostProcessingRenderer, type IStageRenderer} from '@spearwolf/twopoint5d';
Expand All @@ -9,8 +8,6 @@ import {stageRendererContext} from '../index.js';
import {whenDefined} from '../utils/whenDefined.js';
import {TwoPoint5DElement} from './TwoPoint5DElement.js';

export interface PostProcessingElement extends Eventize {}

export class PostProcessingElement extends TwoPoint5DElement {
static async whenDefined(el: any): Promise<PostProcessingElement> {
await whenDefined(el);
Expand Down Expand Up @@ -38,7 +35,6 @@ export class PostProcessingElement extends TwoPoint5DElement {

constructor() {
super();
eventize(this);

this.loggerNS = 'two5-post-processing';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {consume} from '@lit/context';
import {eventize, type Eventize} from '@spearwolf/eventize';
import {type SignalReader} from '@spearwolf/signalize';
import {signal, signalReader} from '@spearwolf/signalize/decorators';
import {Display, TextureStore} from '@spearwolf/twopoint5d';
Expand All @@ -9,8 +8,6 @@ import {displayContext} from '../index.js';
import {whenDefined} from '../utils/whenDefined.js';
import {TwoPoint5DElement} from './TwoPoint5DElement.js';

export interface TextureStoreElement extends Eventize {}

export class TextureStoreElement extends TwoPoint5DElement {
static async whenDefined(el: any): Promise<TextureStoreElement> {
await whenDefined(el);
Expand Down Expand Up @@ -43,7 +40,6 @@ export class TextureStoreElement extends TwoPoint5DElement {

constructor() {
super();
eventize(this);

this.loggerNS = 'two5-texture-store';

Expand Down

0 comments on commit 2275bfd

Please sign in to comment.