docs(QueryMetadata): fix wrong selectors and improve syntax highlighting

closes #4544

Closes #4958
This commit is contained in:
Victor Berchet 2015-10-27 16:06:17 -07:00
parent fdbb505a8a
commit 42ea31b993
1 changed files with 3 additions and 3 deletions

View File

@ -102,8 +102,8 @@ export class AttributeMetadata extends DependencyMetadata {
* <div #findme>...</div> * <div #findme>...</div>
* </seeker> * </seeker>
* *
* @Component({ selector: 'foo' }) * @Component({ selector: 'seeker' })
* class seeker { * class Seeker {
* constructor(@Query('findme') elList: QueryList<ElementRef>) {...} * constructor(@Query('findme') elList: QueryList<ElementRef>) {...}
* } * }
* ``` * ```
@ -120,7 +120,7 @@ export class AttributeMetadata extends DependencyMetadata {
* </seeker> * </seeker>
* *
* @Component({ * @Component({
* selector: 'foo' * selector: 'seeker'
* }) * })
* class Seeker { * class Seeker {
* constructor(@Query('findMe, findMeToo') elList: QueryList<ElementRef>) {...} * constructor(@Query('findMe, findMeToo') elList: QueryList<ElementRef>) {...}