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?
This commit is contained in:
parent
81d298dc6b
commit
74b311a472
@ -33,11 +33,8 @@ import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
|||||||
* - `<li template="ng-for #item of items; #i = index">...</li>`
|
* - `<li template="ng-for #item of items; #i = index">...</li>`
|
||||||
* - `<template ng-for #item [ng-for-of]="items" #i="index"><li>...</li></template>`
|
* - `<template ng-for #item [ng-for-of]="items" #i="index"><li>...</li></template>`
|
||||||
*/
|
*/
|
||||||
@Directive({
|
@Directive(
|
||||||
selector: '[ng-for][ng-for-of]',
|
{selector: '[ng-for][ng-for-of]', properties: ['ngForOf'], lifecycle: [LifecycleEvent.onCheck]})
|
||||||
properties: ['ngForOf'],
|
|
||||||
lifecycle: [LifecycleEvent.onCheck]
|
|
||||||
})
|
|
||||||
export class NgFor {
|
export class NgFor {
|
||||||
_ngForOf: any;
|
_ngForOf: any;
|
||||||
_pipe: Pipe;
|
_pipe: Pipe;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user