Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
garethcmurphy committed Sep 24, 2018
1 parent 9092376 commit 088f88b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
5 changes: 3 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
"use strict";
import { APP_CONFIG, AppConfig } from "./app-config.module";
import { Component, Inject, OnInit } from "@angular/core";
import { LoopBackConfig } from "./shared/sdk";
import { Title } from "@angular/platform-browser";
import { UserApi } from "./shared/sdk/services";
import { environment } from "../environments/environment";
import { APP_CONFIG, AppConfig } from "./app-config.module";
import { Title } from "@angular/platform-browser";

@Component({
selector: "app-root",
Expand Down
2 changes: 1 addition & 1 deletion src/app/dashboard/dashboard.component.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"use strict";
import { APP_CONFIG, AppConfig } from "../app-config.module";
import { Component, Inject, OnInit } from "@angular/core";
import { DatasetService } from "../dataset.service";
import { PublishedData } from "../shared/sdk/models";
import { APP_CONFIG, AppConfig } from "../app-config.module";
import { map } from "rxjs/operators";

interface MyType {
Expand Down
7 changes: 1 addition & 6 deletions src/app/dataset-detail/dataset-detail.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ import { HttpClient } from "@angular/common/http";
import { InMemoryDataService } from "../in-memory-data.service";
import { InMemoryWebApiModule } from "angular-in-memory-web-api";
import { MatCardModule } from "@angular/material";
import {
MockDatasetService,
MockHttp,
MockNgx,
MockPublishedDataApi
} from "../MockStubs";
import { MockDatasetService, MockHttp, MockNgx } from "../MockStubs";
import { NgxJsonLdModule } from "@ngx-lite/json-ld";
import { RouterTestingModule } from "@angular/router/testing";
import { async, ComponentFixture, TestBed } from "@angular/core/testing";
Expand Down
6 changes: 3 additions & 3 deletions src/app/datasets/datasets.component.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"use strict";
import { APP_CONFIG, AppConfig } from "../app-config.module";
import { Component, Inject, OnInit } from "@angular/core";
import { DatasetService } from "../dataset.service";
import { PublishedData } from "../shared/sdk/models";
import { APP_CONFIG, AppConfig } from "../app-config.module";
import { HttpClient } from "@angular/common/http";
import { map } from "rxjs/operators";
import { PublishedData } from "../shared/sdk/models";
import { Router } from "@angular/router";
import { map } from "rxjs/operators";

interface MyType {
doi: string;
Expand Down

0 comments on commit 088f88b

Please sign in to comment.