Import "Fix some typos (it's vs its)" (#175)
Summary: Original author: noahsark769 Closes https://github.com/facebook/Sonar/pull/175 Reviewed By: jknoxville Differential Revision: D8989724 fbshipit-source-id: 8e1c09196b0c6c0d0fb0446a2a4a595d09f21652
This commit is contained in:
committed by
Facebook Github Bot
parent
16093222c0
commit
6a7a580db3
@@ -571,7 +571,7 @@ export default class Layout extends SonarPlugin<InspectorState> {
|
||||
// expand current element
|
||||
const children = await this.setElementExpanded(key, true, ax);
|
||||
|
||||
// and add it's children to the queue
|
||||
// and add its children to the queue
|
||||
for (const child of children) {
|
||||
keys.push(child.id);
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ export default function Tab(props: {|
|
||||
*/
|
||||
hidden?: boolean,
|
||||
/**
|
||||
* Whether this tab should always be included in the DOM and have it's
|
||||
* Whether this tab should always be included in the DOM and have its
|
||||
* visibility toggled.
|
||||
*/
|
||||
persist?: boolean,
|
||||
|
||||
@@ -113,7 +113,7 @@ export default function Tabs(props: {|
|
||||
order?: Array<string>,
|
||||
/**
|
||||
* Whether to include the contents of every tab in the DOM and just toggle
|
||||
* it's visibility.
|
||||
* its visibility.
|
||||
*/
|
||||
persist?: boolean,
|
||||
/**
|
||||
@@ -186,7 +186,7 @@ export default function Tabs(props: {|
|
||||
);
|
||||
}
|
||||
|
||||
// this tab has been hidden from the tab bar but can still be selected if it's key is active
|
||||
// this tab has been hidden from the tab bar but can still be selected if its key is active
|
||||
if (comp.props.hidden) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ type DataInspectorProps = {
|
||||
*/
|
||||
depth: number,
|
||||
/**
|
||||
* An array containing the current location of the data relative to it's root.
|
||||
* An array containing the current location of the data relative to its root.
|
||||
*/
|
||||
path: Array<string>,
|
||||
/**
|
||||
@@ -113,7 +113,7 @@ type DataInspectorProps = {
|
||||
*/
|
||||
expanded: DataInspectorExpanded,
|
||||
/**
|
||||
* An optional callback that will explode a value into it's type and value.
|
||||
* An optional callback that will explode a value into its type and value.
|
||||
* Useful for inspecting serialised data.
|
||||
*/
|
||||
extractValue?: DataValueExtractor,
|
||||
@@ -462,7 +462,7 @@ export default class DataInspector extends Component<DataInspectorProps> {
|
||||
if (isExpandable && isExpanded) {
|
||||
const propertyNodes = [];
|
||||
|
||||
// ancestry of children, including it's owner object
|
||||
// ancestry of children, including its owner object
|
||||
const childAncestry = ancestry.concat([value]);
|
||||
|
||||
const diffValue = diff && resDiff ? resDiff.value : null;
|
||||
|
||||
@@ -27,7 +27,7 @@ type ManagedDataInspectorProps = {|
|
||||
*/
|
||||
expandRoot?: boolean,
|
||||
/**
|
||||
* An optional callback that will explode a value into it's type and value.
|
||||
* An optional callback that will explode a value into its type and value.
|
||||
* Useful for inspecting serialised data.
|
||||
*/
|
||||
extractValue?: DataValueExtractor,
|
||||
|
||||
@@ -127,7 +127,7 @@ test('should inherit component when passed as first arg to styled', () => {
|
||||
}
|
||||
});
|
||||
|
||||
test("when passed class name of another styled component it's rules should be inherited", () => {
|
||||
test("when passed class name of another styled component its rules should be inherited", () => {
|
||||
let component;
|
||||
|
||||
try {
|
||||
|
||||
@@ -53,7 +53,7 @@ export class GarbageCollector {
|
||||
}
|
||||
}
|
||||
|
||||
// component has been unmounted so remove it's dependencies
|
||||
// component has been unmounted so remove its dependencies
|
||||
deregisterClassUse(name: string) {
|
||||
let count = this.usedClasses.get(name);
|
||||
if (count == null) {
|
||||
|
||||
@@ -191,7 +191,7 @@ export default class CertificateProvider {
|
||||
// To find out which device requested the cert, search them
|
||||
// all for a matching csr file.
|
||||
// It's not important to keep these secret from other apps.
|
||||
// Just need to make sure each app can find it's own one.
|
||||
// Just need to make sure each app can find its own one.
|
||||
this.androidDeviceHasMatchingCSR(
|
||||
deviceCsrFilePath,
|
||||
device.id,
|
||||
|
||||
Reference in New Issue
Block a user