Skip to content

Commit 898fcf1

Browse files
committed
Appease linter 📏
Signed-off-by: Itay Dafna <[email protected]>
1 parent ab9a53e commit 898fcf1

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

packages/controls/src/widget_float.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
import { CoreDescriptionModel } from './widget_core';
55

66
import {
7-
BaseIntSliderView, IntRangeSliderView, IntSliderView, IntTextView
7+
BaseIntSliderView,
8+
IntRangeSliderView,
9+
IntSliderView,
10+
IntTextView,
811
} from './widget_int';
912

1013
import { format } from 'd3-format';
@@ -100,7 +103,7 @@ export class FloatLogSliderModel extends BoundedFloatModel {
100103
readout_formatter: any;
101104
}
102105

103-
export class FloatRangeSliderModel extends FloatSliderModel { }
106+
export class FloatRangeSliderModel extends FloatSliderModel {}
104107

105108
export class FloatSliderView extends IntSliderView {
106109
/**

packages/controls/src/widget_int.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class IntSliderModel extends BoundedIntModel {
7878
readout_formatter: any;
7979
}
8080

81-
export class IntRangeSliderModel extends IntSliderModel { }
81+
export class IntRangeSliderModel extends IntSliderModel {}
8282

8383
export abstract class BaseIntSliderView extends DescriptionView {
8484
render(): void {
@@ -472,7 +472,6 @@ export class IntSliderView extends BaseIntSliderView {
472472
}
473473
}
474474

475-
476475
handleSliderChangeEvent(values: any, handle: any): void {
477476
const actual_value = values.map(this._validate_slide_value);
478477
this.readout.textContent = this.valueToString(actual_value);

packages/controls/src/widget_selection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ export class ToggleButtonsView extends DescriptionView {
498498
const previous_icons = this.model.previous('icons') || [];
499499
const previous_bstyle =
500500
(ToggleButtonsView.classMap as any)[
501-
this.model.previous('button_style')
501+
this.model.previous('button_style')
502502
] || '';
503503
const tooltips = this.model.get('tooltips') || [];
504504
const disabled = this.model.get('disabled');

0 commit comments

Comments
 (0)