Skip to content

Commit 7bb1dea

Browse files
alexanderwiebepterratpro
authored andcommitted
fix(docs-infra): add punctuation to dr iq (angular#47525)
add punctuation to dr iq name to aid in clarity Fixes angular#46011 PR Close angular#47525
1 parent 14c46b3 commit 7bb1dea

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

aio/content/examples/component-interaction/e2e/src/app.e2e-spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('Component Communication Cookbook Tests', () => {
77
describe('Parent-to-child communication', () => {
88
// #docregion parent-to-child
99
// ...
10-
const heroNames = ['Dr IQ', 'Magneta', 'Bombasto'];
10+
const heroNames = ['Dr. IQ', 'Magneta', 'Bombasto'];
1111
const masterName = 'Master';
1212

1313
it('should pass properties to children properly', async () => {
@@ -30,7 +30,7 @@ describe('Component Communication Cookbook Tests', () => {
3030
// ...
3131
it('should display trimmed, non-empty names', async () => {
3232
const nonEmptyNameIndex = 0;
33-
const nonEmptyName = '"Dr IQ"';
33+
const nonEmptyName = '"Dr. IQ"';
3434
const parent = element(by.tagName('app-name-parent'));
3535
const hero = parent.all(by.tagName('app-name-child')).get(nonEmptyNameIndex);
3636

aio/content/examples/component-interaction/src/app/hero.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export interface Hero {
33
}
44

55
export const HEROES = [
6-
{name: 'Dr IQ'},
6+
{name: 'Dr. IQ'},
77
{name: 'Magneta'},
88
{name: 'Bombasto'}
99
];

aio/content/examples/component-interaction/src/app/name-parent.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { Component } from '@angular/core';
1010
`
1111
})
1212
export class NameParentComponent {
13-
// Displays 'Dr IQ', '<no name set>', 'Bombasto'
14-
names = ['Dr IQ', ' ', ' Bombasto '];
13+
// Displays 'Dr. IQ', '<no name set>', 'Bombasto'
14+
names = ['Dr. IQ', ' ', ' Bombasto '];
1515
}
1616
// #enddocregion

aio/content/examples/component-interaction/src/app/votetaker.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { Component } from '@angular/core';
1717
export class VoteTakerComponent {
1818
agreed = 0;
1919
disagreed = 0;
20-
voters = ['Dr IQ', 'Celeritas', 'Bombasto'];
20+
voters = ['Dr. IQ', 'Celeritas', 'Bombasto'];
2121

2222
onVoted(agreed: boolean) {
2323
if (agreed) {

aio/content/examples/dependency-injection/src/app/heroes/mock-heroes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const HEROES: Hero[] = [
88
{ id: 15, isSecret: false, name: 'Magneta' },
99
{ id: 16, isSecret: false, name: 'RubberMan' },
1010
{ id: 17, isSecret: false, name: 'Dynama' },
11-
{ id: 18, isSecret: true, name: 'Dr IQ' },
11+
{ id: 18, isSecret: true, name: 'Dr. IQ' },
1212
{ id: 19, isSecret: true, name: 'Magma' },
1313
{ id: 20, isSecret: true, name: 'Tornado' }
1414
];

aio/content/examples/dynamic-component-loader/src/app/ad.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class AdService {
1515
),
1616
new AdItem(
1717
HeroProfileComponent,
18-
{ name: 'Dr IQ', bio: 'Smart as they come' }
18+
{ name: 'Dr. IQ', bio: 'Smart as they come' }
1919
),
2020
new AdItem(
2121
HeroJobAdComponent,

aio/content/examples/forms/src/app/hero-form/hero-form.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class HeroFormComponent {
1414
powers = ['Really Smart', 'Super Flexible',
1515
'Super Hot', 'Weather Changer'];
1616

17-
model = new Hero(18, 'Dr IQ', this.powers[0], 'Chuck Overstreet');
17+
model = new Hero(18, 'Dr. IQ', this.powers[0], 'Chuck Overstreet');
1818

1919
// #docregion submitted
2020
submitted = false;

aio/content/examples/router/src/app/heroes/mock-heroes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const HEROES: Hero[] = [
77
{ id: 15, name: 'Magneta' },
88
{ id: 16, name: 'RubberMan' },
99
{ id: 17, name: 'Dynama' },
10-
{ id: 18, name: 'Dr IQ' },
10+
{ id: 18, name: 'Dr. IQ' },
1111
{ id: 19, name: 'Magma' },
1212
{ id: 20, name: 'Tornado' }
1313
];

0 commit comments

Comments
 (0)