Fix comment typos

Summary: Closes https://github.com/facebook/react-native/pull/7901

Differential Revision: D3384624

Pulled By: javache

fbshipit-source-id: 741343dec5406af1855624069dd8dc426a93bdb3
This commit is contained in:
Kasim Tan
2016-06-03 02:32:30 -07:00
committed by Facebook Github Bot 4
parent e29350214a
commit a7f1428d4a
5 changed files with 6 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ function lineToLineSourceMap(source, filename) {
const firstLine = 'AAAA;'; const firstLine = 'AAAA;';
// Most other lines in our mappings are all zeros (for module, column etc) // Most other lines in our mappings are all zeros (for module, column etc)
// except for the lineno mappinp: curLineno - prevLineno = 1; Which is C. // except for the lineno mapping: curLineno - prevLineno = 1; Which is C.
const line = 'AACA;'; const line = 'AACA;';
return { return {

View File

@@ -2,7 +2,7 @@ const groupBy = require('lodash').groupBy;
const mime = require('mime'); const mime = require('mime');
/** /**
* Since there are no officialy registered MIME types * Since there are no officially registered MIME types
* for ttf/otf yet http://www.iana.org/assignments/media-types/media-types.xhtml, * for ttf/otf yet http://www.iana.org/assignments/media-types/media-types.xhtml,
* we define two non-standard ones for the sake of parsing * we define two non-standard ones for the sake of parsing
*/ */

View File

@@ -45,7 +45,7 @@ module.exports = function upgrade(args, config) {
) )
); );
// >= v0.21.0, we require react to be a peer depdendency // >= v0.21.0, we require react to be a peer dependency
if (semver.gte(v, '0.21.0') && !pak.dependencies['react']) { if (semver.gte(v, '0.21.0') && !pak.dependencies['react']) {
console.log( console.log(
chalk.yellow( chalk.yellow(

View File

@@ -11,12 +11,12 @@
const fetch = require('node-fetch'); const fetch = require('node-fetch');
/** /**
* Indicates whether or not the packager is running. It ruturns a promise that * Indicates whether or not the packager is running. It returns a promise that
* when fulfilled can returns one out of these possible values: * when fulfilled can returns one out of these possible values:
* - `running`: the packager is running * - `running`: the packager is running
* - `not_running`: the packager nor any process is running on the expected * - `not_running`: the packager nor any process is running on the expected
* port. * port.
* - `unrecognized`: one other process is running on the port ew expect the * - `unrecognized`: one other process is running on the port we expect the
* packager to be running. * packager to be running.
*/ */
function isPackagerRunning() { function isPackagerRunning() {

View File

@@ -7,7 +7,7 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
* *
* Wrapper on-top of `optimist` in order to properly support boolean flags * Wrapper on-top of `optimist` in order to properly support boolean flags
* and have a slightly less akward API. * and have a slightly less awkward API.
* *
* Usage example: * Usage example:
* var argv = parseCommandLine([{ * var argv = parseCommandLine([{