Skip to content

chore(typos): remove extra "the" from comments #14754

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/cdk/overlay/overlay-ref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/cdk/portal/portal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/dev-app/chips/chips-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h4>With avatar and icons</h4>
<h4>Form Field</h4>

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

Expand Down
2 changes: 1 addition & 1 deletion src/lib/button-toggle/button-toggle.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/lib/chips/chip-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/core/ripple/ripple.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/lib/datepicker/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/form-field/prefix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]',
})
Expand Down