Skip to content

Commit cc6bcfc

Browse files
committed
Remove stale drag state variable
1 parent ab9fa61 commit cc6bcfc

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/components/slide-toggle/slide-toggle.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ export class MdSlideToggle implements AfterContentInit, ControlValueAccessor {
6161
private _isInitialized: boolean = false;
6262
private _slideRenderer: SlideToggleRenderer = null;
6363

64-
// State of the current drag, which holds required variables for the drag.
65-
private _dragState: {
66-
barWidth: number;
67-
percentage?: number;
68-
};
69-
7064
@Input() @BooleanFieldValue() disabled: boolean = false;
7165
@Input() name: string = null;
7266
@Input() id: string = this._uniqueId;
@@ -242,7 +236,7 @@ export class MdSlideToggle implements AfterContentInit, ControlValueAccessor {
242236
}
243237

244238
/**
245-
* Renderer for the Slide Toggle component, which separates DOM modification in it's own class
239+
* Renderer for the Slide Toggle component, which separates DOM modification in its own class
246240
*/
247241
class SlideToggleRenderer {
248242

0 commit comments

Comments
 (0)