Skip to content

Commit

Permalink
fixing lint issues from progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
thomastighe committed Dec 10, 2018
1 parent e9d40c0 commit ce6433a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/ui-kit/experimental/progress/progress.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class ProgressComponent implements ProgressIndicator {
/**
* Calculates the bar fill percentage of the progress bar.
*/
public calculateBarFillPercentage (): string {
return Math.min((Math.floor((Math.max(0, this.value)/ this.max) * 100)), 100) + '%';
public calculateBarFillPercentage(): string {
return Math.min((Math.floor((Math.max(0, this.value) / this.max) * 100)), 100) + '%';
}
}
8 changes: 4 additions & 4 deletions src/ui-kit/experimental/progress/progress.module.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { ProgressComponent } from "./progress.component";
import { ProgressComponent } from './progress.component';

@NgModule({
imports: [
Expand All @@ -14,4 +14,4 @@ import { ProgressComponent } from "./progress.component";
})
export class SamProgressModule {}

export { ProgressComponent } from './progress.component';
export { ProgressComponent } from './progress.component';

0 comments on commit ce6433a

Please sign in to comment.