Skip to content

Commit

Permalink
Fix comment wording.
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion committed Oct 5, 2016
1 parent 927f2b1 commit 2ee5640
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/slide-toggle/slide-toggle.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ describe('MdSlideToggle', () => {
expect(slideThumbContainer.classList).toContain('md-dragging');

gestureConfig.emitEventForElement('slide', slideThumbContainer, {
deltaX: 200 // Use a random number which will be clamped.
deltaX: 200 // Arbitrary, large delta that will be clamped to the end of the slide-toggle.
});

gestureConfig.emitEventForElement('slideend', slideThumbContainer);
Expand All @@ -452,7 +452,7 @@ describe('MdSlideToggle', () => {
expect(slideThumbContainer.classList).toContain('md-dragging');

gestureConfig.emitEventForElement('slide', slideThumbContainer, {
deltaX: -200 // Use a random negative number which will be clamped.
deltaX: -200 // Arbitrary, large delta that will be clamped to the end of the slide-toggle.
});

gestureConfig.emitEventForElement('slideend', slideThumbContainer);
Expand All @@ -474,7 +474,7 @@ describe('MdSlideToggle', () => {
expect(slideThumbContainer.classList).not.toContain('md-dragging');

gestureConfig.emitEventForElement('slide', slideThumbContainer, {
deltaX: 200 // Use a random number which will be clamped.
deltaX: 200 // Arbitrary, large delta that will be clamped to the end of the slide-toggle.
});

gestureConfig.emitEventForElement('slideend', slideThumbContainer);
Expand Down

0 comments on commit 2ee5640

Please sign in to comment.