[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

@@ -91,7 +91,7 @@ export class ProcessAttachmentListComponent implements OnChanges, AfterContentIn
});
}
hasCutomEmptyTemplate() {
hasCustomEmptyTemplate() {
return !!this.emptyTemplate;
}

View File

@@ -32,7 +32,7 @@ describe('TaskAttachmentList', () => {
let mockAttachment: any;
let deleteContentSpy: jasmine.Spy;
let getFileRawContentSpy: jasmine.Spy;
let disposablelSuccess: any;
let disposableSuccess: any;
setupTestBed({
imports: [ProcessTestingModule],
@@ -96,8 +96,8 @@ describe('TaskAttachmentList', () => {
overlayContainer.innerHTML = '';
});
if (disposablelSuccess) {
disposablelSuccess.unsubscribe();
if (disposableSuccess) {
disposableSuccess.unsubscribe();
}
});
@@ -117,7 +117,7 @@ describe('TaskAttachmentList', () => {
it('should emit a success event when the attachments are loaded', () => {
let change = new SimpleChange(null, '123', true);
disposablelSuccess = component.success.subscribe((attachments) => {
disposableSuccess = component.success.subscribe((attachments) => {
expect(attachments[0].name).toEqual(mockAttachment.data[0].name);
expect(attachments[0].id).toEqual(mockAttachment.data[0].id);
});

View File

@@ -34,7 +34,7 @@ export class TaskAttachmentListComponent implements OnChanges, AfterContentInit
@Input()
taskId: string;
/** Disable/Enable read only mode for attachement list. */
/** Disable/Enable read only mode for attachment list. */
@Input()
disabled: boolean = false;
@@ -82,7 +82,7 @@ export class TaskAttachmentListComponent implements OnChanges, AfterContentInit
this.attachments = [];
}
hasCutomEmptyTemplate() {
hasCustomEmptyTemplate() {
return !!this.emptyTemplate;
}