Skip to content

Commit

Permalink
refactor: remove unused code that was previously deprecated (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrassa authored May 8, 2024
1 parent 6b80911 commit 4c64400
Show file tree
Hide file tree
Showing 25 changed files with 38 additions and 1,071 deletions.
4 changes: 2 additions & 2 deletions proxy.conf.template.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"/api/*": {
"/api": {
"target": "http://localhost:3000",
"secure": false,
"logLevel": "debug",
"changeOrigin": true
},
"/socket.io/*" : {
"/socket.io" : {
"target": "http://localhost:3000",
"secure": false,
"ws": true
Expand Down
13 changes: 1 addition & 12 deletions src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
} from '@angular/router';

import { BsDatepickerModule } from 'ngx-bootstrap/datepicker';
import { ModalModule } from 'ngx-bootstrap/modal';
import { TooltipModule } from 'ngx-bootstrap/tooltip';

import { provideCdkDialog } from './common/dialog/provider';
Expand All @@ -30,17 +29,7 @@ import { provideExampleRoutes } from './site/example/provider';

export const appConfig: ApplicationConfig = {
providers: [
importProvidersFrom(
BsDatepickerModule.forRoot(),
TooltipModule.forRoot(),
// only used by modal example. no longer used for any core functionality.
ModalModule.forRoot()
// ngx-bootstrap modules - If still using uncomment imports below.
// AlertModule.forRoot(),
// BsDropdownModule.forRoot(),
// PopoverModule.forRoot(),
// TypeaheadModule.forRoot()
),
importProvidersFrom(BsDatepickerModule.forRoot(), TooltipModule.forRoot()),
provideAnimations(),
provideHttpClient(
withInterceptors([
Expand Down
69 changes: 0 additions & 69 deletions src/app/common/directives/abstract-if-then-else.directive.ts

This file was deleted.

58 changes: 0 additions & 58 deletions src/app/common/modal/abstract-modal.directive.spec.ts

This file was deleted.

46 changes: 0 additions & 46 deletions src/app/common/modal/abstract-modal.directive.ts

This file was deleted.

49 changes: 0 additions & 49 deletions src/app/common/modal/abstract-modalizable.directive.spec.ts

This file was deleted.

65 changes: 0 additions & 65 deletions src/app/common/modal/abstract-modalizable.directive.ts

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 4c64400

Please sign in to comment.