mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore(typos): remove extra "the" from comments (#14754)
replace comments that have "the the " with "the "
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ export class TemplatePortal<C = any> extends Portal<C> {
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
<h4>Form Field</h4>
|
||||
|
||||
<p>
|
||||
You can easily put the the <code><mat-chip-list></code> inside of an
|
||||
You can easily put the <code><mat-chip-list></code> inside of an
|
||||
<code><mat-form-field></code>.
|
||||
</p>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -82,7 +82,7 @@ export class MatCalendarHeader<D> {
|
||||
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<D> {
|
||||
}[this.calendar.currentView];
|
||||
}
|
||||
|
||||
/** The label for the the next button. */
|
||||
/** The label for the next button. */
|
||||
get nextButtonLabel(): string {
|
||||
return {
|
||||
'month': this._intl.nextMonthLabel,
|
||||
|
||||
@@ -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]',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user