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() {
if (this.themeService.currentTheme == 'light') {
if (this.themeService.currentTheme === 'light') {
this.themeService.changeTheme('cosmic');
} else {
this.themeService.changeTheme('light');

View file

@ -10,7 +10,7 @@ export class LeafletComponent {
options = {
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,
center: L.latLng({ lat: 38.991709, lng: -76.886109 }),