docs(metadata): correct ES5 annotation examples

Closes #3720
This commit is contained in:
Pawel Kozlowski 2015-08-19 11:42:59 +02:00
parent d191ec4c33
commit abb0e279a5
1 changed files with 4 additions and 4 deletions

View File

@ -175,7 +175,7 @@ export interface DirectiveFactory {
* }; * };
* *
* MyComponent.annotations = [ * MyComponent.annotations = [
* new ng.Component({...}) * new ng.Component({...}),
* new ng.View({...}) * new ng.View({...})
* ] * ]
* ``` * ```
@ -245,7 +245,7 @@ export interface ComponentFactory {
* }; * };
* *
* MyComponent.annotations = [ * MyComponent.annotations = [
* new ng.Component({...}) * new ng.Component({...}),
* new ng.View({...}) * new ng.View({...})
* ] * ]
* ``` * ```
@ -307,7 +307,7 @@ export interface ViewFactory {
* }; * };
* *
* MyComponent.annotations = [ * MyComponent.annotations = [
* new ng.Component({...}) * new ng.Component({...}),
* new ng.View({...}) * new ng.View({...})
* ] * ]
* MyComponent.parameters = [ * MyComponent.parameters = [
@ -358,7 +358,7 @@ export interface AttributeFactory {
* }; * };
* *
* MyComponent.annotations = [ * MyComponent.annotations = [
* new ng.Component({...}) * new ng.Component({...}),
* new ng.View({...}) * new ng.View({...})
* ] * ]
* MyComponent.parameters = [ * MyComponent.parameters = [