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:

searchDataProviders.module.ts
1 1
import {NgModule} from '@angular/core';
2 2
import {CommonModule} from '@angular/common';
3 3
import {FormsModule} from '@angular/forms';
4
import {FreeGuard} from '../login/freeGuard.guard';
5
import {IsRouteEnabled} from '../error/isRouteEnabled.guard';
6 4
import {NewSearchPageModule} from "./searchUtils/newSearchPage.module";
7 5
import {DataProvidersServiceModule} from "../services/dataProvidersService.module";
8 6
import {SearchDataProvidersComponent} from "./searchDataProviders.component";
......
17 15
  declarations: [
18 16
    SearchDataProvidersComponent
19 17
  ],
20
  providers: [FreeGuard, IsRouteEnabled],
18
  providers: [],
21 19
  exports: [
22 20
    SearchDataProvidersComponent
23 21
  ]

Also available in: Unified diff