Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
makimenko committed Dec 7, 2023
1 parent a05a700 commit 4b3af4f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class EmitStepComponent implements AfterViewInit, OnDestroy, OnChanges {
}

public ngOnChanges(changes: SimpleChanges) {
console.log('EmitStepComponent.ngOnChanges');
console.log('EmitStepComponent.ngOnChanges', changes);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class TimelineEmitterComponent implements AfterViewInit, OnDestroy, OnCha
}

public ngOnChanges(changes: SimpleChanges) {
console.log('TimelineEmitterComponent.ngOnChanges');
console.log('TimelineEmitterComponent.ngOnChanges', changes);
}

ngOnInit(): void {
Expand Down
4 changes: 2 additions & 2 deletions projects/atft/src/lib/object/loader/audio-loader.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Component, EventEmitter, Input, Optional, Output, SkipSelf} from '@angular/core';
import {Component, EventEmitter, Input, OnDestroy, Optional, Output, SkipSelf} from '@angular/core';

import * as THREE from 'three';
import {RendererService} from '../../renderer/renderer.service';
Expand All @@ -11,7 +11,7 @@ import {AbstractModelLoader} from './abstract-model-loader';
providers: [provideParent(AudioLoaderComponent)],
template: '<ng-content></ng-content>'
})
export class AudioLoaderComponent extends AbstractModelLoader {
export class AudioLoaderComponent extends AbstractModelLoader implements OnDestroy {
private loader = new THREE.AudioLoader();
private listener = new THREE.AudioListener();
private sound = new THREE.Audio(this.listener);
Expand Down
5 changes: 2 additions & 3 deletions src/stories/basic/timeline/timeline-emitter.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {Component, Input} from '@angular/core';
import {Meta, moduleMetadata, StoryObj} from '@storybook/angular';
// NOTE: Do direct import instead of library (allows to watch component and easy to develop)
import {AtftModule} from '../../../../projects/atft/src/lib/atft.module';
import {worldSceneWrapper} from "../../scene-wrapper/world-scene-wrapper";
import {axesSceneWrapper} from "../../scene-wrapper/axes-scene-wrapper";


Expand All @@ -19,8 +18,8 @@ import {axesSceneWrapper} from "../../scene-wrapper/axes-scene-wrapper";
`)
})
class TimelineEmitterStoryComponent {
visibleOne = false;
visibleTwo = false;
@Input() visibleOne = false;
@Input() visibleTwo = false;
}


Expand Down

0 comments on commit 4b3af4f

Please sign in to comment.