Skip to content

Commit 87992c8

Browse files
adrogonmmalerba
authored andcommitted
docs: fix typos where "it's" is used instead of "its" (#16996)
1 parent 6799c11 commit 87992c8

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed

src/cdk/a11y/key-manager/focus-key-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {FocusOrigin} from '../focus-monitor/focus-monitor';
1212
/**
1313
* This is the interface for focusable items (used by the FocusKeyManager).
1414
* Each item must know how to focus itself, whether or not it is currently disabled
15-
* and be able to supply it's label.
15+
* and be able to supply its label.
1616
*/
1717
export interface FocusableOption extends ListKeyManagerOption {
1818
/** Focuses the `FocusableOption`. */

src/cdk/drag-drop/drag-ref.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ export class DragRef<T = any> {
795795
// Drop container that draggable has been moved into.
796796
let newContainer = this._initialContainer._getSiblingContainerFromPosition(this, x, y);
797797

798-
// If we couldn't find a new container to move the item into, and the item has left it's
798+
// If we couldn't find a new container to move the item into, and the item has left its
799799
// initial container, check whether the it's over the initial container. This handles the
800800
// case where two containers are connected one way and the user tries to undo dragging an
801801
// item into a new container.

src/cdk/overlay/position/flexible-connected-position-strategy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy {
999999
};
10001000
}
10011001

1002-
/** Subtracts the amount that an element is overflowing on an axis from it's length. */
1002+
/** Subtracts the amount that an element is overflowing on an axis from its length. */
10031003
private _subtractOverflows(length: number, ...overflows: number[]): number {
10041004
return overflows.reduce((currentValue: number, currentOverflow: number) => {
10051005
return currentValue - Math.max(currentOverflow, 0);

src/cdk/scrolling/virtual-scroll-viewport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const SCROLL_SCHEDULER =
4545
typeof requestAnimationFrame !== 'undefined' ? animationFrameScheduler : asapScheduler;
4646

4747

48-
/** A viewport that virtualizes it's scrolling with the help of `CdkVirtualForOf`. */
48+
/** A viewport that virtualizes its scrolling with the help of `CdkVirtualForOf`. */
4949
@Component({
5050
moduleId: module.id,
5151
selector: 'cdk-virtual-scroll-viewport',

src/cdk/table/table.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,28 +217,28 @@ export class CdkTable<T> implements AfterContentChecked, CollectionViewer, OnDes
217217
/**
218218
* Column definitions that were defined outside of the direct content children of the table.
219219
* These will be defined when, e.g., creating a wrapper around the cdkTable that has
220-
* column definitions as *it's* content child.
220+
* column definitions as *its* content child.
221221
*/
222222
private _customColumnDefs = new Set<CdkColumnDef>();
223223

224224
/**
225225
* Data row definitions that were defined outside of the direct content children of the table.
226226
* These will be defined when, e.g., creating a wrapper around the cdkTable that has
227-
* built-in data rows as *it's* content child.
227+
* built-in data rows as *its* content child.
228228
*/
229229
private _customRowDefs = new Set<CdkRowDef<T>>();
230230

231231
/**
232232
* Header row definitions that were defined outside of the direct content children of the table.
233233
* These will be defined when, e.g., creating a wrapper around the cdkTable that has
234-
* built-in header rows as *it's* content child.
234+
* built-in header rows as *its* content child.
235235
*/
236236
private _customHeaderRowDefs = new Set<CdkHeaderRowDef>();
237237

238238
/**
239239
* Footer row definitions that were defined outside of the direct content children of the table.
240240
* These will be defined when, e.g., creating a wrapper around the cdkTable that has a
241-
* built-in footer row as *it's* content child.
241+
* built-in footer row as *its* content child.
242242
*/
243243
private _customFooterRowDefs = new Set<CdkFooterRowDef>();
244244

src/material/checkbox/checkbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ export class MatCheckbox extends _MatCheckboxMixinBase implements ControlValueAc
286286
// component will be only marked for check, but no actual change detection runs automatically.
287287
// Instead of going back into the zone in order to trigger a change detection which causes
288288
// *all* components to be checked (if explicitly marked or not using OnPush), we only trigger
289-
// an explicit change detection for the checkbox view and it's children.
289+
// an explicit change detection for the checkbox view and its children.
290290
this._changeDetectorRef.detectChanges();
291291
}
292292

src/material/core/datetime/date-adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export abstract class DateAdapter<D> {
208208
* deserialize should only accept non-ambiguous, locale-independent formats (e.g. a ISO 8601
209209
* string). The default implementation does not allow any deserialization, it simply checks that
210210
* the given value is already a valid date object or null. The `<mat-datepicker>` will call this
211-
* method on all of it's `@Input()` properties that accept dates. It is therefore possible to
211+
* method on all of its `@Input()` properties that accept dates. It is therefore possible to
212212
* support passing values from your backend directly to these properties by overriding this method
213213
* to also deserialize the format used by your backend.
214214
* @param value The value to be deserialized into a date object.

src/material/core/datetime/native-date-adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class NativeDateAdapter extends DateAdapter<Date> {
7979
* will produce `'8/13/1800'`.
8080
*
8181
* TODO(mmalerba): drop this variable. It's not being used in the code right now. We're now
82-
* getting the string representation of a Date object from it's utc representation. We're keeping
82+
* getting the string representation of a Date object from its utc representation. We're keeping
8383
* it here for sometime, just for precaution, in case we decide to revert some of these changes
8484
* though.
8585
*/

src/material/slide-toggle/slide-toggle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ export class MatSlideToggle extends _MatSlideToggleMixinBase implements OnDestro
361361
// slide-toggle component will be only marked for check, but no actual change detection runs
362362
// automatically. Instead of going back into the zone in order to trigger a change detection
363363
// which causes *all* components to be checked (if explicitly marked or not using OnPush),
364-
// we only trigger an explicit change detection for the slide-toggle view and it's children.
364+
// we only trigger an explicit change detection for the slide-toggle view and its children.
365365
this._changeDetectorRef.detectChanges();
366366
}
367367
}

tools/dgeni/index.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _dgeni_api_docs(ctx):
3030
# output should be written to. (e.g. bazel-out/bin/src/docs-content)
3131
args.add(output_dir_path)
3232

33-
# Pass each specified entry point and it's corresponding entry points to Dgeni. This will then
33+
# Pass each specified entry point and its corresponding entry points to Dgeni. This will then
3434
# be used to resolve the files that need to be parsed by Dgeni.
3535
for package_name, entry_points in ctx.attr.entry_points.items():
3636
args.add(package_name)
@@ -46,7 +46,7 @@ def _dgeni_api_docs(ctx):
4646

4747
# Small workaround that ensures that the "ripple" API doc is properly exposed as an output
4848
# of the packaging rule. Technically Dgeni should not output the "ripple" directory as
49-
# it's own entry-point. TODO(devversion): Support sub API docs for entry-points
49+
# its own entry-point. TODO(devversion): Support sub API docs for entry-points
5050
if package_name == "material":
5151
expected_outputs += [
5252
ctx.actions.declare_file("%s/%s-%s.html" % (output_dir_name, package_name, "ripple")),

0 commit comments

Comments
 (0)