Use let instead of deprecated #variable

This commit is contained in:
József Farkas
2016-04-29 20:21:47 +02:00
parent d0c085d95e
commit a03588cc02
2 changed files with 3 additions and 3 deletions

View File

@@ -10,8 +10,8 @@ import {Mapper} from '../utils/mapper';
selector: 'g[svg-module]',
template:
`
<svg:path *ngFor="#path of coverages" [attr.d]="path.$.d"/>
<svg:g svg-keyboard-key *ngFor="#key of keyboardKeys; #i = index"
<svg:path *ngFor="let path of coverages" [attr.d]="path.$.d"/>
<svg:g svg-keyboard-key *ngFor="let key of keyboardKeys; let i = index"
[id]="key.id"
[rx]="key.rx" [ry]="key.ry"
[width]="key.width" [height]="key.height"