Skip to content

Commit

Permalink
Fix linters
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion committed Aug 30, 2016
1 parent c06604f commit 0a12419
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/demo-app/slide-toggle/slide-toggle-demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {Component} from '@angular/core';
export class SlideToggleDemo {

onFormSubmit() {
alert(`You submitted the form.`)
alert(`You submitted the form.`);
}

}
6 changes: 2 additions & 4 deletions src/lib/slide-toggle/slide-toggle.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,6 @@ describe('MdSlideToggle', () => {

it('should prevent the form from submit when being required', async(() => {

let fixture = TestBed.createComponent(SlideToggleFormsTestApp);

fixture.detectChanges();

buttonElement.click();
Expand All @@ -393,7 +391,7 @@ describe('MdSlideToggle', () => {
expect(testComponent.isSubmitted).toBe(true);
}));

})
});

});

Expand Down Expand Up @@ -456,4 +454,4 @@ class SlideToggleTestApp {
})
class SlideToggleFormsTestApp {
isSubmitted: boolean = false;
}
}

0 comments on commit 0a12419

Please sign in to comment.