Skip to content

Commit

Permalink
Fix tslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Gonzalez committed Jan 22, 2018
1 parent bd52cdf commit 4ae6d74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ export { ThemifyComponent } from './themify-icons/themify.component';
export { ThemifyModule } from './themify-icons/themify.module';

export { WeatherIconsComponent } from './weather-icons/weather-icons.component';
export { WeatherIconsModule } from './weather-icons/weather-icons.module';
export { WeatherIconsModule } from './weather-icons/weather-icons.module';
6 changes: 4 additions & 2 deletions src/weather-icons/weather-icons.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class WeatherIconsComponent implements OnInit {
@Input() public rotate?: number;
@Input() public flip?: string;
@Input() public direction?: string;
@Input() public degree?: number
@Input() public degree?: number;
@Input() public cardinal?: string;
@Input() public beaufort?: number;
@Input() public time?: number;
Expand All @@ -36,7 +36,9 @@ export class WeatherIconsComponent implements OnInit {
this.addOption(`wi-rotate-${this.rotate}`);
}

if (this.flip === 'horizontal' || this.flip === 'vertical') { this.addOption(`wi-flip-${this.flip}`); }
if (this.flip === 'horizontal' || this.flip === 'vertical') {
this.addOption(`wi-flip-${this.flip}`);
}

if (this.name === 'wind' && (this.direction === 'towards' || this.direction === 'from')) {

Expand Down

0 comments on commit 4ae6d74

Please sign in to comment.