Skip to content

Commit

Permalink
feat(package): removed ng2 bs module
Browse files Browse the repository at this point in the history
>
> BREAKING CHANGE:
> - removed BsRootModule
  • Loading branch information
valorkin committed Nov 3, 2017
1 parent 4166bee commit 7c086a4
Showing 1 changed file with 0 additions and 50 deletions.
50 changes: 0 additions & 50 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,53 +178,3 @@ export {
zhCn,
tr
} from './locale';

const MODULES = [
AccordionModule,
AlertModule,
ButtonsModule,
CarouselModule,
CollapseModule,
DatepickerModule,
BsDropdownModule,
ModalModule,
PaginationModule,
ProgressbarModule,
PopoverModule,
RatingModule,
TabsModule,
TimepickerModule,
TooltipModule,
TypeaheadModule
];

@NgModule({
imports: [
AccordionModule.forRoot(),
AlertModule.forRoot(),
ButtonsModule.forRoot(),
CarouselModule.forRoot(),
CollapseModule.forRoot(),
DatepickerModule.forRoot(),
BsDropdownModule.forRoot(),
ModalModule.forRoot(),
PaginationModule.forRoot(),
ProgressbarModule.forRoot(),
PopoverModule.forRoot(),
RatingModule.forRoot(),
TabsModule.forRoot(),
TimepickerModule.forRoot(),
TooltipModule.forRoot(),
TypeaheadModule.forRoot(),
SortableModule.forRoot()
],
exports: MODULES
})
export class BsRootModule {}

@NgModule({ exports: MODULES })
export class Ng2BootstrapModule {
static forRoot(): ModuleWithProviders {
return { ngModule: BsRootModule };
}
}

0 comments on commit 7c086a4

Please sign in to comment.