From ce6433a0cefff39ec70cedc289cf05a8b252b5ef Mon Sep 17 00:00:00 2001 From: Thomas Tighe Date: Mon, 10 Dec 2018 08:31:01 -0500 Subject: [PATCH] fixing lint issues from progress bar --- src/ui-kit/experimental/progress/progress.component.ts | 4 ++-- src/ui-kit/experimental/progress/progress.module.ts | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ui-kit/experimental/progress/progress.component.ts b/src/ui-kit/experimental/progress/progress.component.ts index c9cd63633..713a731b1 100644 --- a/src/ui-kit/experimental/progress/progress.component.ts +++ b/src/ui-kit/experimental/progress/progress.component.ts @@ -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) + '%'; } } diff --git a/src/ui-kit/experimental/progress/progress.module.ts b/src/ui-kit/experimental/progress/progress.module.ts index 7aef6c7e7..ad564112a 100644 --- a/src/ui-kit/experimental/progress/progress.module.ts +++ b/src/ui-kit/experimental/progress/progress.module.ts @@ -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: [ @@ -14,4 +14,4 @@ import { ProgressComponent } from "./progress.component"; }) export class SamProgressModule {} -export { ProgressComponent } from './progress.component'; \ No newline at end of file +export { ProgressComponent } from './progress.component';