Fixes build issues. Removes warnings.

This commit is contained in:
GloriousCode
2018-08-16 07:16:40 +10:00
parent a7ed69c843
commit f7bc2433dd
11 changed files with 4141 additions and 603 deletions

View File

@@ -44,7 +44,7 @@ import { SettingsComponent, EnabledCurrenciesDialogueComponent } from './pages/s
// Shared
import { NavbarComponent } from './shared/navbar/navbar.component';
import { AllEnabledCurrencyTickersComponent } from './shared/all-updates-ticker/all-updates-ticker.component';
import { ThemePickerComponent } from './shared/theme-picker/theme-picker';
import { ThemePickerComponent } from './shared/theme-picker/theme-picker.component';
import {IterateMapPipe, EnabledCurrenciesPipe} from './shared/classes/pipes';
// services
import { WebsocketService } from './services/websocket/websocket.service';

View File

@@ -1,17 +1,17 @@
import {inject, TestBed} from '@angular/core/testing';
import {HttpModule} from '@angular/http';
import {StyleManagerComponent} from './style-manager.component';
import {StyleManagerService} from './style-manager.service';
describe('StyleManager', () => {
let styleManager: StyleManagerComponent;
let styleManager: StyleManagerService;
beforeEach(() => TestBed.configureTestingModule({
imports: [HttpModule],
providers: [StyleManagerComponent]
providers: [StyleManagerService]
}));
beforeEach(inject([StyleManagerComponent], (sm: StyleManagerComponent) => {
beforeEach(inject([StyleManagerService], (sm: StyleManagerService) => {
styleManager = sm;
}));

View File

@@ -1,6 +1,6 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { AllEnabledCurrencyTickersComponent } from './all-enabled-currency-tickers.component';
import { AllEnabledCurrencyTickersComponent } from './all-updates-ticker.component';
describe('AllEnabledCurrencyTickersComponent', () => {
let component: AllEnabledCurrencyTickersComponent;

View File

@@ -7,8 +7,8 @@ import {CommonModule} from '@angular/common';
@Component({
selector: 'app-theme-picker',
templateUrl: 'theme-picker.html',
styleUrls: ['theme-picker.scss'],
templateUrl: 'theme-picker.component.html',
styleUrls: ['theme-picker.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
host: {'aria-hidden': 'true'},

View File

@@ -41,8 +41,8 @@
/** Evergreen browsers require these. **/
import 'core-js/es6/reflect';
import 'core-js/es7/reflect';
//import 'core-js/es6/reflect';
//import 'core-js/es7/reflect';
/** ALL Firefox browsers require the following to support `@angular/animation`. **/