From abb0e279a5bbf61b7b4399aa99f323f2c50ebe91 Mon Sep 17 00:00:00 2001 From: Pawel Kozlowski Date: Wed, 19 Aug 2015 11:42:59 +0200 Subject: [PATCH] docs(metadata): correct ES5 annotation examples Closes #3720 --- modules/angular2/src/core/metadata.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/angular2/src/core/metadata.ts b/modules/angular2/src/core/metadata.ts index f7c2513640..cd9636572b 100644 --- a/modules/angular2/src/core/metadata.ts +++ b/modules/angular2/src/core/metadata.ts @@ -175,7 +175,7 @@ export interface DirectiveFactory { * }; * * MyComponent.annotations = [ - * new ng.Component({...}) + * new ng.Component({...}), * new ng.View({...}) * ] * ``` @@ -245,7 +245,7 @@ export interface ComponentFactory { * }; * * MyComponent.annotations = [ - * new ng.Component({...}) + * new ng.Component({...}), * new ng.View({...}) * ] * ``` @@ -307,7 +307,7 @@ export interface ViewFactory { * }; * * MyComponent.annotations = [ - * new ng.Component({...}) + * new ng.Component({...}), * new ng.View({...}) * ] * MyComponent.parameters = [ @@ -358,7 +358,7 @@ export interface AttributeFactory { * }; * * MyComponent.annotations = [ - * new ng.Component({...}) + * new ng.Component({...}), * new ng.View({...}) * ] * MyComponent.parameters = [