diff --git a/src/cdk/a11y/interactivity-checker/interactivity-checker.ts b/src/cdk/a11y/interactivity-checker/interactivity-checker.ts index 723da6f717f..59092c79167 100644 --- a/src/cdk/a11y/interactivity-checker/interactivity-checker.ts +++ b/src/cdk/a11y/interactivity-checker/interactivity-checker.ts @@ -55,7 +55,7 @@ export class InteractivityChecker { * @returns Whether the element is tabbable. */ isTabbable(element: HTMLElement): boolean { - // Nothing is tabbable on the the server 😎 + // Nothing is tabbable on the server 😎 if (!this._platform.isBrowser) { return false; } diff --git a/src/cdk/overlay/overlay-ref.ts b/src/cdk/overlay/overlay-ref.ts index 5c6ddb1b570..75b98277031 100644 --- a/src/cdk/overlay/overlay-ref.ts +++ b/src/cdk/overlay/overlay-ref.ts @@ -267,7 +267,7 @@ export class OverlayRef implements PortalOutlet, OverlayReference { return this._keydownEventsObservable; } - /** Gets the the current overlay configuration, which is immutable. */ + /** Gets the current overlay configuration, which is immutable. */ getConfig(): OverlayConfig { return this._config; } diff --git a/src/cdk/portal/portal.ts b/src/cdk/portal/portal.ts index 885f13361b8..582a6017064 100644 --- a/src/cdk/portal/portal.ts +++ b/src/cdk/portal/portal.ts @@ -138,7 +138,7 @@ export class TemplatePortal extends Portal { } /** - * Attach the the portal to the provided `PortalOutlet`. + * Attach the portal to the provided `PortalOutlet`. * When a context is provided it will override the `context` property of the `TemplatePortal` * instance. */ diff --git a/src/dev-app/chips/chips-demo.html b/src/dev-app/chips/chips-demo.html index f87ec36b736..7de13edd78d 100644 --- a/src/dev-app/chips/chips-demo.html +++ b/src/dev-app/chips/chips-demo.html @@ -91,7 +91,7 @@

Form Field

- You can easily put the the <mat-chip-list> inside of an + You can easily put the <mat-chip-list> inside of an <mat-form-field>.

diff --git a/src/lib/button-toggle/button-toggle.md b/src/lib/button-toggle/button-toggle.md index 6c0f5bcbdf9..23905e817dc 100644 --- a/src/lib/button-toggle/button-toggle.md +++ b/src/lib/button-toggle/button-toggle.md @@ -11,7 +11,7 @@ In this mode, the `value` of the `mat-button-toggle-group` will reflect the valu button and `ngModel` is supported. Adding the `multiple` attribute allows multiple items to be selected (checkbox behavior). In this -mode the values of the the toggles are not used, the `mat-button-toggle-group` does not have a value, +mode the values of the toggles are not used, the `mat-button-toggle-group` does not have a value, and `ngModel` is not supported. ### Appearance diff --git a/src/lib/chips/chip-list.ts b/src/lib/chips/chip-list.ts index d7959287140..359dec69ff9 100644 --- a/src/lib/chips/chip-list.ts +++ b/src/lib/chips/chip-list.ts @@ -450,7 +450,7 @@ export class MatChipList extends _MatChipListMixinBase implements MatFormFieldCo } /** - * Focuses the the first non-disabled chip in this chip list, or the associated input when there + * Focuses the first non-disabled chip in this chip list, or the associated input when there * are no eligible chips. */ focus(): void { diff --git a/src/lib/core/ripple/ripple.ts b/src/lib/core/ripple/ripple.ts index 2dd3053d5a1..770d0c58e4f 100644 --- a/src/lib/core/ripple/ripple.ts +++ b/src/lib/core/ripple/ripple.ts @@ -167,7 +167,7 @@ export class MatRipple implements OnInit, OnDestroy, RippleTarget { return this.disabled || !!this._globalOptions.disabled; } - /** Sets up the the trigger event listeners if ripples are enabled. */ + /** Sets up the trigger event listeners if ripples are enabled. */ private _setupTriggerEventsIfEnabled() { if (!this.disabled && this._isInitialized) { this._rippleRenderer.setupTriggerEvents(this.trigger); diff --git a/src/lib/datepicker/calendar.ts b/src/lib/datepicker/calendar.ts index dbb1241aaf4..aab415a2a32 100644 --- a/src/lib/datepicker/calendar.ts +++ b/src/lib/datepicker/calendar.ts @@ -82,7 +82,7 @@ export class MatCalendarHeader { this._intl.switchToMultiYearViewLabel : this._intl.switchToMonthViewLabel; } - /** The label for the the previous button. */ + /** The label for the previous button. */ get prevButtonLabel(): string { return { 'month': this._intl.prevMonthLabel, @@ -91,7 +91,7 @@ export class MatCalendarHeader { }[this.calendar.currentView]; } - /** The label for the the next button. */ + /** The label for the next button. */ get nextButtonLabel(): string { return { 'month': this._intl.nextMonthLabel, diff --git a/src/lib/form-field/prefix.ts b/src/lib/form-field/prefix.ts index 29574d57047..46e3b4cadfa 100644 --- a/src/lib/form-field/prefix.ts +++ b/src/lib/form-field/prefix.ts @@ -9,7 +9,7 @@ import {Directive} from '@angular/core'; -/** Prefix to be placed the the front of the form field. */ +/** Prefix to be placed in front of the form field. */ @Directive({ selector: '[matPrefix]', })