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:

newSearchPage.module.ts
19 19
import {HelperModule} from '../../utils/helper/helper.module';
20 20
import {Schema2jsonldModule} from '../../sharedComponents/schema2jsonld/schema2jsonld.module';
21 21
import {SEOServiceModule} from '../../sharedComponents/SEO/SEOService.module';
22
import {SearchDataproviderMapModule} from './searchDataproviderMap.module';
23 22
import {PortalSearchResultModule} from "./portal-search-result.module";
24 23
import {SearchResultsModule} from "./searchResults.module";
25 24
import {SearchResultsInDepositModule} from "../../deposit/searchResultsInDeposit.module";
......
32 31
@NgModule({
33 32
  imports: [
34 33
    CommonModule, FormsModule, RouterModule, SearchFormModule, SearchResultsModule, PortalSearchResultModule,
35
    LoadingModalModule, ReportsServiceModule, SearchDataproviderMapModule,
34
    LoadingModalModule, ReportsServiceModule,
36 35
    SearchPagingModule, SearchResultsPerPageModule, SearchSortingModule, SearchDownloadModule, ModalModule,
37 36
    SearchFilterModule, RangeFilterModule,
38 37
    PiwikServiceModule, HelperModule, Schema2jsonldModule, SEOServiceModule, SearchResultsModule,

Also available in: Unified diff