Skip to content

Commit d5b3c88

Browse files
committed
chore(typos): remove extra "the" from comments
replace comments that have "the the " with "the "
1 parent 22b0ad6 commit d5b3c88

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

src/cdk/a11y/interactivity-checker/interactivity-checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class InteractivityChecker {
5555
* @returns Whether the element is tabbable.
5656
*/
5757
isTabbable(element: HTMLElement): boolean {
58-
// Nothing is tabbable on the the server 😎
58+
// Nothing is tabbable on the server 😎
5959
if (!this._platform.isBrowser) {
6060
return false;
6161
}

src/cdk/overlay/overlay-ref.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ export class OverlayRef implements PortalOutlet, OverlayReference {
267267
return this._keydownEventsObservable;
268268
}
269269

270-
/** Gets the the current overlay configuration, which is immutable. */
270+
/** Gets the current overlay configuration, which is immutable. */
271271
getConfig(): OverlayConfig {
272272
return this._config;
273273
}

src/cdk/portal/portal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class TemplatePortal<C = any> extends Portal<C> {
138138
}
139139

140140
/**
141-
* Attach the the portal to the provided `PortalOutlet`.
141+
* Attach the portal to the provided `PortalOutlet`.
142142
* When a context is provided it will override the `context` property of the `TemplatePortal`
143143
* instance.
144144
*/

src/dev-app/chips/chips-demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h4>With avatar and icons</h4>
9191
<h4>Form Field</h4>
9292

9393
<p>
94-
You can easily put the the <code>&lt;mat-chip-list&gt;</code> inside of an
94+
You can easily put the <code>&lt;mat-chip-list&gt;</code> inside of an
9595
<code>&lt;mat-form-field&gt;</code>.
9696
</p>
9797

src/lib/button-toggle/button-toggle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ In this mode, the `value` of the `mat-button-toggle-group` will reflect the valu
1111
button and `ngModel` is supported.
1212

1313
Adding the `multiple` attribute allows multiple items to be selected (checkbox behavior). In this
14-
mode the values of the the toggles are not used, the `mat-button-toggle-group` does not have a value,
14+
mode the values of the toggles are not used, the `mat-button-toggle-group` does not have a value,
1515
and `ngModel` is not supported.
1616

1717
### Appearance

src/lib/chips/chip-list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ export class MatChipList extends _MatChipListMixinBase implements MatFormFieldCo
450450
}
451451

452452
/**
453-
* Focuses the the first non-disabled chip in this chip list, or the associated input when there
453+
* Focuses the first non-disabled chip in this chip list, or the associated input when there
454454
* are no eligible chips.
455455
*/
456456
focus(): void {

src/lib/core/ripple/ripple.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export class MatRipple implements OnInit, OnDestroy, RippleTarget {
167167
return this.disabled || !!this._globalOptions.disabled;
168168
}
169169

170-
/** Sets up the the trigger event listeners if ripples are enabled. */
170+
/** Sets up the trigger event listeners if ripples are enabled. */
171171
private _setupTriggerEventsIfEnabled() {
172172
if (!this.disabled && this._isInitialized) {
173173
this._rippleRenderer.setupTriggerEvents(this.trigger);

src/lib/datepicker/calendar.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export class MatCalendarHeader<D> {
8282
this._intl.switchToMultiYearViewLabel : this._intl.switchToMonthViewLabel;
8383
}
8484

85-
/** The label for the the previous button. */
85+
/** The label for the previous button. */
8686
get prevButtonLabel(): string {
8787
return {
8888
'month': this._intl.prevMonthLabel,
@@ -91,7 +91,7 @@ export class MatCalendarHeader<D> {
9191
}[this.calendar.currentView];
9292
}
9393

94-
/** The label for the the next button. */
94+
/** The label for the next button. */
9595
get nextButtonLabel(): string {
9696
return {
9797
'month': this._intl.nextMonthLabel,

src/lib/form-field/prefix.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import {Directive} from '@angular/core';
1010

1111

12-
/** Prefix to be placed the the front of the form field. */
12+
/** Prefix to be placed in front of the form field. */
1313
@Directive({
1414
selector: '[matPrefix]',
1515
})

0 commit comments

Comments
 (0)