Fix tslint and related errors.

This commit is contained in:
József Farkas
2016-04-13 21:30:55 +02:00
parent 9b040c6665
commit 5542b66871
10 changed files with 26 additions and 25 deletions

View File

@@ -5,8 +5,8 @@ export class Module {
private keyboardButtons: KeyboardButton[];
constructor(obj: { rect: any[], path: any[] }, fill?: string) {
this.keyboardButtons = obj.rect.map(obj => obj.$);
this.keyboardButtons = obj.rect.map(rect => rect.$);
this.keyboardButtons.forEach(keyboardButton => keyboardButton.fill = fill ? fill : 'black');
this.case = obj.path[0].$;
}
}
}