Skip to content

Commit d2c5697

Browse files
ss18facebook-github-bot
authored andcommitted
Typos in comments and log messages
Summary: No code changes, no testing required. alligned -> aligned allignment -> alignment completly -> completely conseptually -> conceptually decendents -> descendants indefinetly -> indefinitely dimention -> dimension doesnt -> doesn't safegaurd -> safeguard intialization -> initialization hierachy -> hierarchy happend -> happened gaurd -> guard programatically -> programmatically initalized -> initialized immidiately -> immediately occured -> occurred unkown -> unknown neccessary -> necessary neccesarily -> necessarily occuring -> occurring comoponent -> component propogate -> propagate recieved -> received referece -> reference perfomance -> performance recieving -> receiving subsquently -> subsequently scoll -> scroll suprisingly -> surprisingly targetting -> targeting tranform -> transform symetrical -> symmetrical wtih -> with Closes #17578 Differential Revision: D6718791 Pulled By: shergin fbshipit-source-id: 4ab79c1131ec5971d35a0c7199eba7ec0a0918ad
1 parent cae7179 commit d2c5697

File tree

40 files changed

+45
-45
lines changed

40 files changed

+45
-45
lines changed

Libraries/Animated/src/__tests__/bezier-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ describe('bezier', function() {
121121
assertClose(easing(0.5), 0.5, 2);
122122
});
123123
});
124-
it('should be symetrical', function() {
124+
it('should be symmetrical', function() {
125125
repeat(10)(function() {
126126
var a = Math.random(),
127127
b = 2 * Math.random() - 0.5,

Libraries/Animated/src/createAnimatedComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function createAnimatedComponent(Component: any): any {
149149
ref={this._setComponentRef}
150150
// The native driver updates views directly through the UI thread so we
151151
// have to make sure the view doesn't get optimized away because it cannot
152-
// go through the NativeViewHierachyManager since it operates on the shadow
152+
// go through the NativeViewHierarchyManager since it operates on the shadow
153153
// thread.
154154
collapsable={
155155
this._propsAnimated.__isNative ? false : props.collapsable

Libraries/Animated/src/nodes/AnimatedInterpolation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ class AnimatedInterpolation extends AnimatedWithChildren {
374374

375375
return {
376376
inputRange: this._config.inputRange,
377-
// Only the `outputRange` can contain strings so we don't need to tranform `inputRange` here
377+
// Only the `outputRange` can contain strings so we don't need to transform `inputRange` here
378378
outputRange: this.__transformDataType(this._config.outputRange),
379379
extrapolateLeft:
380380
this._config.extrapolateLeft || this._config.extrapolate || 'extend',

Libraries/Animated/src/nodes/AnimatedValueXY.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class AnimatedValueXY extends AnimatedWithChildren {
4343
} else {
4444
invariant(
4545
value.x instanceof AnimatedValue && value.y instanceof AnimatedValue,
46-
'AnimatedValueXY must be initalized with an object of numbers or ' +
46+
'AnimatedValueXY must be initialized with an object of numbers or ' +
4747
'AnimatedValues.',
4848
);
4949
this.x = value.x;

Libraries/BatchedBridge/BatchedBridge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const MessageQueue = require('MessageQueue');
1818
// This makes stacktraces to be placed at MessageQueue rather than at where they were launched
1919
// The parameter __fbUninstallRNGlobalErrorHandler is passed to MessageQueue to prevent the handler from being installed
2020
//
21-
// __fbUninstallRNGlobalErrorHandler is conditionally set by the Inspector while the VM is paused for intialization
21+
// __fbUninstallRNGlobalErrorHandler is conditionally set by the Inspector while the VM is paused for initialization
2222
// If the Inspector isn't present it defaults to undefined and the global error handler is installed
2323
// The Inspector can still call MessageQueue#uninstallGlobalErrorHandler to uninstalled on attach
2424

Libraries/Components/Navigation/NavigatorIOS.ios.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ var NavigatorIOS = createReactClass({
337337
/**
338338
* Use this to specify additional props to pass to the rendered
339339
* component. `NavigatorIOS` will automatically pass in `route` and
340-
* `navigator` props to the comoponent.
340+
* `navigator` props to the component.
341341
*/
342342
passProps: PropTypes.object,
343343

Libraries/Components/ScrollView/ScrollViewStickyHeader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class ScrollViewStickyHeader extends React.Component<Props, {
7171
// - Past the collision with the next header y: no more translation. This will cause the
7272
// header to continue scrolling up and make room for the next sticky header.
7373
// In the case that there is no next header just translate equally to
74-
// scroll indefinetly.
74+
// scroll indefinitely.
7575
inputRange.push(layoutY);
7676
outputRange.push(0);
7777
// Sometimes headers jump around so we make sure we don't violate the monotonic inputRange

Libraries/Components/StatusBar/StatusBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ class StatusBar extends React.Component<{
315315
// Every time a StatusBar component is mounted, we push it's prop to a stack
316316
// and always update the native status bar with the props from the top of then
317317
// stack. This allows having multiple StatusBar components and the one that is
318-
// added last or is deeper in the view hierachy will have priority.
318+
// added last or is deeper in the view hierarchy will have priority.
319319
this._stackEntry = createStackEntry(this.props);
320320
StatusBar._propsStack.push(this._stackEntry);
321321
this._updatePropsStack();

Libraries/Experimental/Incremental.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const DEBUG = false;
3232
*
3333
* `<Incremental>` solves this by slicing up rendering into chunks that are
3434
* spread across multiple event loops. Expensive components can be sliced up
35-
* recursively by wrapping pieces of them and their decendents in
35+
* recursively by wrapping pieces of them and their descendants in
3636
* `<Incremental>` components. `<IncrementalGroup>` can be used to make sure
3737
* everything in the group is rendered recursively before calling `onDone` and
3838
* moving on to another sibling group (e.g. render one row at a time, even if
@@ -83,7 +83,7 @@ const DEBUG = false;
8383
*/
8484
export type Props = {
8585
/**
86-
* Called when all the decendents have finished rendering and mounting
86+
* Called when all the descendants have finished rendering and mounting
8787
* recursively.
8888
*/
8989
onDone?: () => void,

Libraries/Experimental/IncrementalPresenter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import type {Context} from 'Incremental';
2727
*
2828
* `<IncrementalPresenter>` can be used to group sets of `<Incremental>` renders
2929
* such that they are initially invisible and removed from layout until all
30-
* decendents have finished rendering, at which point they are drawn all at once
30+
* descendants have finished rendering, at which point they are drawn all at once
3131
* so the UI doesn't jump around during the incremental rendering process.
3232
*
3333
* See Incremental.js for more info.

0 commit comments

Comments
 (0)