Project

General

Profile

« Previous | Next » 

Revision 59816

[Library|Trunk]

code clean up:
-remove app.* files from library
-remove unused imports, code, files (Old search pages for results, dataproviders, map search page, etc)
-remove Freeguard from modules
-unsubscribe all subscriptions
-Services: configuration, isvocabularies, user management: unsubscribe from app component or the component that uses them (clearSubscriptions())
-Fetchers: unsubscribe from the component that uses them (clearSubscriptions())

View differences:

organization.module.ts
17 17
import {ProjectsServiceModule} from '../../services/projectsService.module';
18 18

  
19 19
import {ProjectsInModalModule} from '../landing-utils/projects-in-modal.module';
20
import {FreeGuard} from '../../login/freeGuard.guard';
21
import {IsRouteEnabled} from '../../error/isRouteEnabled.guard';
20

  
22 21
import {Schema2jsonldModule} from '../../sharedComponents/schema2jsonld/schema2jsonld.module';
23 22
import {SEOServiceModule} from '../../sharedComponents/SEO/SEOService.module';
24 23
import {HelperModule} from "../../utils/helper/helper.module";
......
51 50
  declarations: [
52 51
    OrganizationComponent,
53 52
  ],
54
  providers: [
55
    FreeGuard, IsRouteEnabled
56
  ],
53
  providers: [],
57 54
  exports: [
58 55
    OrganizationComponent
59 56
  ]

Also available in: Unified diff