Skip to content

Commit

Permalink
revert: style(ngFor): add whitespace to Directive annotation
Browse files Browse the repository at this point in the history
Reverted from commit 35597a8

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?
  • Loading branch information
petebacondarwin committed Jul 28, 2015
1 parent 81d298d commit 74b311a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions modules/angular2/src/directives/ng_for.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 74b311a

Please sign in to comment.