From 74b311a472dadd32e6acb732271ce1502e732d82 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Tue, 28 Jul 2015 14:13:31 +0100 Subject: [PATCH] revert: style(ngFor): add whitespace to `Directive` annotation Reverted from commit 35597a8349795255c23113e4e7fc24fb9eafa9f4 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? --- modules/angular2/src/directives/ng_for.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/angular2/src/directives/ng_for.ts b/modules/angular2/src/directives/ng_for.ts index a73da8899b..035c511099 100644 --- a/modules/angular2/src/directives/ng_for.ts +++ b/modules/angular2/src/directives/ng_for.ts @@ -33,11 +33,8 @@ import {isPresent, isBlank} from 'angular2/src/facade/lang'; * - `
  • ...
  • ` * - `` */ -@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;