[ADF-3591] spellcheck support for code (#3827)

* setup spellcheck
This commit is contained in:
Denys Vuika
2018-10-23 15:05:38 +01:00
committed by Eugenio Romano
parent 53d96679ea
commit e39a2b149b
262 changed files with 1561 additions and 1005 deletions

View File

@@ -71,7 +71,7 @@ describe('PeopleSelectorComponent', () => {
});
});
it('should emit an event with the selected users\'s id when userSelected method is invoked', (done) => {
it('should emit an event with the selected users id when userSelected method is invoked', (done) => {
component.peopleIdChange.subscribe((userId) => {
expect(userId).toBe(789);

View File

@@ -7,7 +7,7 @@
<div *ngIf="!hasPeople()" class="assigment-count" id="no-people-label">
{{ 'ADF_TASK_LIST.DETAILS.PEOPLE.NONE' | translate }}
</div>
<div *ngIf="isEditMode()" class="add-people" (click)="onAddAssignement()">
<div *ngIf="isEditMode()" class="add-people" (click)="onAddAssignment()">
<mat-icon class="adf-add-person-icon">person_add</mat-icon>
</div>
</div>

View File

@@ -105,7 +105,7 @@ describe('PeopleComponent', () => {
});
}));
it('should remove pepole involved', async(() => {
it('should remove people involved', async(() => {
activitiPeopleComponent.removeInvolvedUser(fakeUser);
jasmine.Ajax.requests.mostRecent().respondWith({
status: 200
@@ -119,7 +119,7 @@ describe('PeopleComponent', () => {
});
}));
it('should involve pepole', async(() => {
it('should involve people', async(() => {
activitiPeopleComponent.involveUser(fakeUser);
jasmine.Ajax.requests.mostRecent().respondWith({
status: 200

View File

@@ -110,7 +110,7 @@ export class PeopleComponent implements OnInit, AfterViewInit {
return this.getDisplayUser(firstName, lastName, '');
}
onAddAssignement() {
onAddAssignment() {
this.showAssignment = true;
}