mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix a few typos (#10860)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user