Skip to content

Commit

Permalink
Fix comment typos
Browse files Browse the repository at this point in the history
Summary: Closes facebook/react-native#7901

Differential Revision: D3384624

Pulled By: javache

fbshipit-source-id: 741343dec5406af1855624069dd8dc426a93bdb3
  • Loading branch information
kasimtan authored and Facebook Github Bot 4 committed Jun 3, 2016
1 parent b153459 commit 986d8ba
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bundle/output/unbundle/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function lineToLineSourceMap(source, filename) {
const firstLine = 'AAAA;';

// 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;';

return {
Expand Down
2 changes: 1 addition & 1 deletion rnpm/link/src/groupFilesByType.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const groupBy = require('lodash').groupBy;
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,
* we define two non-standard ones for the sake of parsing
*/
Expand Down
2 changes: 1 addition & 1 deletion upgrade/upgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']) {
console.log(
chalk.yellow(
Expand Down
4 changes: 2 additions & 2 deletions util/isPackagerRunning.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
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:
* - `running`: the packager is running
* - `not_running`: the packager nor any process is running on the expected
* 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.
*/
function isPackagerRunning() {
Expand Down
2 changes: 1 addition & 1 deletion util/parseCommandLine.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 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
* and have a slightly less akward API.
* and have a slightly less awkward API.
*
* Usage example:
* var argv = parseCommandLine([{
Expand Down

0 comments on commit 986d8ba

Please sign in to comment.