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