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

Reverted from commit 35597a8349

This style change makes the docs look nicer but clang-format doesn't
like it. @mhevery perhaps we can tweak the clang-format rules for this?
This commit is contained in:
Peter Bacon Darwin 2015-07-28 14:13:31 +01:00
parent 81d298dc6b
commit 74b311a472
1 changed files with 2 additions and 5 deletions

View File

@ -33,11 +33,8 @@ 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;