Skip to content

Commit

Permalink
Remove stale drag state variable
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion committed Jul 14, 2016
1 parent ab9fa61 commit cc6bcfc
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/components/slide-toggle/slide-toggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {

Expand Down

0 comments on commit cc6bcfc

Please sign in to comment.