Skip to content

Commit 1b64bcb

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

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
@@ -223,7 +223,7 @@ export class OverlayRef implements PortalOutlet {
223223
return this._keydownEvents.asObservable();
224224
}
225225

226-
/** Gets the the current overlay configuration, which is immutable. */
226+
/** Gets the current overlay configuration, which is immutable. */
227227
getConfig(): OverlayConfig {
228228
return this._config;
229229
}

src/cdk/portal/portal.ts

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

131131
/**
132-
* Attach the the portal to the provided `PortalOutlet`.
132+
* Attach the portal to the provided `PortalOutlet`.
133133
* When a context is provided it will override the `context` property of the `TemplatePortal`
134134
* instance.
135135
*/

src/demo-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
### Accessibility

src/lib/chips/chip-list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ export class MatChipList extends _MatChipListMixinBase implements MatFormFieldCo
438438
onContainerClick() { this.focus(); }
439439

440440
/**
441-
* Focuses the the first non-disabled chip in this chip list, or the associated input when there
441+
* Focuses the first non-disabled chip in this chip list, or the associated input when there
442442
* are no eligible chips.
443443
*/
444444
focus(): void {

src/lib/core/ripple/ripple.ts

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

175-
/** Sets up the the trigger event listeners if ripples are enabled. */
175+
/** Sets up the trigger event listeners if ripples are enabled. */
176176
private _setupTriggerEventsIfEnabled() {
177177
if (!this.disabled && this._isInitialized) {
178178
this._rippleRenderer.setupTriggerEvents(this.trigger);

src/lib/datepicker/calendar.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class MatCalendarHeader<D> implements OnDestroy {
7878
this._intl.switchToMultiYearViewLabel : this._intl.switchToMonthViewLabel;
7979
}
8080

81-
/** The label for the the previous button. */
81+
/** The label for the previous button. */
8282
get prevButtonLabel(): string {
8383
return {
8484
'month': this._intl.prevMonthLabel,
@@ -87,7 +87,7 @@ export class MatCalendarHeader<D> implements OnDestroy {
8787
}[this.calendar.currentView];
8888
}
8989

90-
/** The label for the the next button. */
90+
/** The label for the next button. */
9191
get nextButtonLabel(): string {
9292
return {
9393
'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)