File tree 5 files changed +11
-266
lines changed
angular-skyhook-card-list
examples/src/app/sortable/simple
5 files changed +11
-266
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,3 @@ export * from "./src/spillTarget";
7
7
8
8
export { SkyhookCardListModule } from "./src/module" ;
9
9
10
- export { SharedSortableService } from "./src/SharedSortableService" ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- import { NgModule , ModuleWithProviders } from "@angular/core" ;
1
+ import { NgModule } from "@angular/core" ;
2
2
import { CardListDirective } from "./card-list.directive" ;
3
3
import { CardListComponent } from "./card-list.component" ;
4
4
import { CardTemplateDirective } from "./card-template.directive" ;
5
5
import { CardRendererDirective } from "./card-renderer.directive" ;
6
6
import { CommonModule } from "@angular/common" ;
7
7
import { SkyhookDndModule } from "angular-skyhook" ;
8
- import { SharedSortableService } from "./SharedSortableService" ;
9
- import { SharedDirective } from "./shared.directive" ;
8
+
9
+ const EXPORTS = [
10
+ CardListComponent ,
11
+ CardListDirective ,
12
+ CardTemplateDirective ,
13
+ CardRendererDirective ,
14
+ ] ;
10
15
11
16
@NgModule ( {
12
- declarations : [
13
- CardListComponent ,
14
- CardListDirective ,
15
- CardTemplateDirective ,
16
- CardRendererDirective ,
17
- SharedDirective
18
- ] ,
19
- exports : [
20
- CardListComponent ,
21
- CardListDirective ,
22
- CardTemplateDirective ,
23
- CardRendererDirective ,
24
- SharedDirective
25
- ] ,
17
+ declarations : EXPORTS ,
18
+ exports : EXPORTS ,
26
19
imports : [ CommonModule , SkyhookDndModule ]
27
20
} )
28
21
export class SkyhookCardListModule {
29
- static forRoot ( ) : ModuleWithProviders {
30
- return {
31
- ngModule : SkyhookCardListModule ,
32
- providers : [
33
- SharedSortableService
34
- ]
35
- }
36
- }
37
22
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import { ContainerComponent } from "./container.component";
20
20
UtilityModule ,
21
21
SkyhookDndModule ,
22
22
SkyhookMultiBackendModule ,
23
- SkyhookCardListModule . forRoot ( ) ,
23
+ SkyhookCardListModule ,
24
24
RouterModule . forChild ( [
25
25
{ path : "" , component : ContainerComponent }
26
26
] )
You can’t perform that action at this time.
0 commit comments