Fix a few typos (#10860)

This commit is contained in:
Leslie
2017-09-27 11:13:21 +01:00
committed by Dan Abramov
parent 7c78a38182
commit ccb2f82a83
8 changed files with 9 additions and 9 deletions
+1 -1
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);
}
}
+2 -2
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
+1 -1
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
+1 -1
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