Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Commit

Permalink
fix(core): move RepeatDirective to SCAM
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed Jun 1, 2021
1 parent e02eb97 commit 95d2e78
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/core/src/lib/core.module.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { NgModule } from '@angular/core';
import { CanvasComponent } from './canvas.component';
import { Object3dControllerDirective } from './controllers';
import { RepeatDirective } from './directives';

@NgModule({
declarations: [CanvasComponent, Object3dControllerDirective, RepeatDirective],
exports: [CanvasComponent, Object3dControllerDirective, RepeatDirective],
declarations: [CanvasComponent, Object3dControllerDirective],
exports: [CanvasComponent, Object3dControllerDirective],
})
export class ThreeCoreModule {}
3 changes: 2 additions & 1 deletion packages/core/src/lib/directives/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './repeat.directive';
export * from './repeat/repeat.module';
export * from './repeat/repeat.directive';
8 changes: 8 additions & 0 deletions packages/core/src/lib/directives/repeat/repeat.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { NgModule } from '@angular/core';
import { RepeatDirective } from './repeat.directive';

@NgModule({
declarations: [RepeatDirective],
exports: [RepeatDirective],
})
export class ThreeRepeatModule {}

0 comments on commit 95d2e78

Please sign in to comment.