fix(framework): fix linting issues

This commit is contained in:
Alexander Zhukov 2017-05-16 15:40:03 +03:00
parent b75eb12837
commit da8d87c1f9
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ export class HeaderComponent {
} }
switchTheme() { switchTheme() {
if (this.themeService.currentTheme == 'light') { if (this.themeService.currentTheme === 'light') {
this.themeService.changeTheme('cosmic'); this.themeService.changeTheme('cosmic');
} else { } else {
this.themeService.changeTheme('light'); this.themeService.changeTheme('light');

View file

@ -10,7 +10,7 @@ export class LeafletComponent {
options = { options = {
layers: [ layers: [
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 18, attribution: '...' }) L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 18, attribution: '...' }),
], ],
zoom: 5, zoom: 5,
center: L.latLng({ lat: 38.991709, lng: -76.886109 }), center: L.latLng({ lat: 38.991709, lng: -76.886109 }),