Fix a few typos (#10860)

This commit is contained in:
Leslie 2017-09-27 18:13:21 +08:00 committed by Dan Abramov
parent 7c78a38182
commit ccb2f82a83
8 changed files with 9 additions and 9 deletions

View File

@ -28,7 +28,7 @@ To apply for the scholarship, please visit the application page: **<http://goo.g
## Award Includes
* Paid registration fee for the React.js Conf Feburary 22 & 23 in downtown San Francisco, CA
* Paid registration fee for the React.js Conf February 22 & 23 in downtown San Francisco, CA
* Paid lodging expenses for February 21, 22, 23
## Important Dates

View File

@ -10,7 +10,7 @@ class TextInputFixtures extends React.Component {
return (
<FixtureSet
title="Inputs"
description="Common behavior across controled and uncontrolled inputs">
description="Common behavior across controlled and uncontrolled inputs">
<TestCase title="Numbers in a controlled text field with no handler">
<TestCase.Steps>
<li>Move the cursor to after "2" in the text field</li>

View File

@ -70,7 +70,7 @@ if (require.main === module) {
if (benchmarkInput) {
serveBenchmark(benchmarkInput);
} else {
console.error('Please specifiy a benchmark directory to serve!');
console.error('Please specify a benchmark directory to serve!');
process.exit(1);
}
}

View File

@ -97,8 +97,8 @@ src/isomorphic/classic/__tests__/createReactClassIntegration-test.js
* should warn on invalid prop types
* should warn on invalid context types
* should throw on invalid child context types
* should warn when mispelling shouldComponentUpdate
* should warn when mispelling componentWillReceiveProps
* should warn when misspelling shouldComponentUpdate
* should warn when misspelling componentWillReceiveProps
* should throw if a reserved property is in statics
* should support statics
* should work with object getInitialState() return values

View File

@ -523,7 +523,7 @@ rimraf('build', () => {
}
// rather than run concurently, opt to run them serially
// this helps improve console/warning/error output
// and fixes a bunch of IO failures that sometimes occured
// and fixes a bunch of IO failures that sometimes occurred
return runWaterfall(tasks)
.then(() => {
// output the results

View File

@ -139,7 +139,7 @@ function ignoreReactNativeModules() {
function getExternalModules(externals, bundleType, isRenderer) {
// external modules tell Rollup that we should not attempt
// to bundle these modules and instead treat them as
// external depedencies to the bundle. so for CJS bundles
// external dependencies to the bundle. so for CJS bundles
// this means having a require("name-of-external-module") at
// the top of the bundle. for UMD bundles this means having
// both a require and a global check for them

View File

@ -281,7 +281,7 @@ module.exports = function<T, P, I, TI, PI, C, CX, PL>(
// bottom->up. Top->down is faster in IE11.
let wasHydrated = popHydrationState(workInProgress);
if (wasHydrated) {
// TOOD: Move this and createInstance step into the beginPhase
// TODO: Move this and createInstance step into the beginPhase
// to consolidate.
if (
prepareToHydrateHostInstance(

View File

@ -237,7 +237,7 @@ exports.pushContextProvider = function(workInProgress: Fiber): boolean {
emptyObject;
// Remember the parent context so we can merge with it later.
// Inherit the parent's did-perform-work value to avoid inadvertantly blocking updates.
// Inherit the parent's did-perform-work value to avoid inadvertently blocking updates.
previousContext = contextStackCursor.current;
push(contextStackCursor, memoizedMergedChildContext, workInProgress);
push(