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:

resultLanding.module.ts
11 11
import {AltMetricsModule}             from '../../utils/altmetrics.module';
12 12
import {PagingModule}                 from '../../utils/paging.module';
13 13

  
14
import {FreeGuard}                    from '../../login/freeGuard.guard';
15
import {IsRouteEnabled}               from '../../error/isRouteEnabled.guard';
16 14
import {ResultLandingService}         from './resultLanding.service';
17 15
import {ResultLandingComponent}       from './resultLanding.component';
18 16
import {Schema2jsonldModule}          from '../../sharedComponents/schema2jsonld/schema2jsonld.module';
......
42 40
    ResultLandingComponent
43 41
  ],
44 42
  providers: [
45
    ResultLandingService, FreeGuard, IsRouteEnabled
43
    ResultLandingService
46 44
  ],
47 45
  exports: [
48 46
    ResultLandingComponent

Also available in: Unified diff