style(ngFor): add whitespace to `Directive` annotation

This commit is contained in:
Peter Bacon Darwin 2015-07-28 11:23:48 +01:00
parent 45cbc430e8
commit 35597a8349
1 changed files with 5 additions and 2 deletions

View File

@ -33,8 +33,11 @@ import {isPresent, isBlank} from 'angular2/src/facade/lang';
* - `<li template="ng-for #item of items; #i = index">...</li>`
* - `<template ng-for #item [ng-for-of]="items" #i="index"><li>...</li></template>`
*/
@Directive(
{selector: '[ng-for][ng-for-of]', properties: ['ngForOf'], lifecycle: [LifecycleEvent.onCheck]})
@Directive({
selector: '[ng-for][ng-for-of]',
properties: ['ngForOf'],
lifecycle: [LifecycleEvent.onCheck]
})
export class NgFor {
_ngForOf: any;
_pipe: Pipe;