From cc6bcfc2a6e2c83b6a157857b9dbd1c1792ea51b Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Thu, 14 Jul 2016 20:34:09 +0200 Subject: [PATCH] Remove stale drag state variable --- src/components/slide-toggle/slide-toggle.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/components/slide-toggle/slide-toggle.ts b/src/components/slide-toggle/slide-toggle.ts index 04ced97f7857..bfe4829f168b 100644 --- a/src/components/slide-toggle/slide-toggle.ts +++ b/src/components/slide-toggle/slide-toggle.ts @@ -61,12 +61,6 @@ export class MdSlideToggle implements AfterContentInit, ControlValueAccessor { private _isInitialized: boolean = false; private _slideRenderer: SlideToggleRenderer = null; - // State of the current drag, which holds required variables for the drag. - private _dragState: { - barWidth: number; - percentage?: number; - }; - @Input() @BooleanFieldValue() disabled: boolean = false; @Input() name: string = null; @Input() id: string = this._uniqueId; @@ -242,7 +236,7 @@ export class MdSlideToggle implements AfterContentInit, ControlValueAccessor { } /** - * Renderer for the Slide Toggle component, which separates DOM modification in it's own class + * Renderer for the Slide Toggle component, which separates DOM modification in its own class */ class SlideToggleRenderer {