Skip to content

Commit

Permalink
chore: Fix serveral typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisAlderson committed Dec 6, 2017
1 parent 6358a43 commit b37e496
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ All notable changes to this project will be documented in this file. See [standa

### Features

* **initial-release:** Initial release for npm registery ([c5269e7](https://github.com/popcorn-official/pop-api/commit/c5269e7))
* **initial-release:** Initial release for npm registry ([c5269e7](https://github.com/popcorn-official/pop-api/commit/c5269e7))
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ can also be used for other purposes by using middleware.

## Documentation

For further documentation you can check the `./manual` or generate it localy
For further documentation you can check the `./manual` or generate it locally
with `npm run docs`.

## Usage
Expand Down
2 changes: 1 addition & 1 deletion manual/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The advanced setup has some more options to setup your API in regards with
the database connection and the port your API will be listening on. But also
how you can serve content through built-in route controllers aswell as how to
how you can serve content through built-in route controllers as well as how to
extend the built-in route controllers.

- [Mongoose Models](#mongoose-models)
Expand Down
4 changes: 2 additions & 2 deletions src/PopApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export default class PopApi {
/**
* The setup for the base framework.
* @param {!Object} options - The options for the framework.
* @param {!Express} options.app=express()] - The webframework instance you
* watn to use. Currently supports Express and Restify.
* @param {!Express} options.app=express()] - The web framework instance you
* want to use. Currently supports Express and Restify.
* @param {!Array<Object>} options.controllers - The controllers to register.
* @param {!string} options.name - The name for your API.
* @param {!string} options.version - The version of your API.
Expand Down
4 changes: 2 additions & 2 deletions src/middleware/Routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default class Routes {

/**
* Hook method for setting up middleware pre setting up the routes.
* @param {!Express} app - The ExpressJS instanace.
* @param {!Express} app - The ExpressJS instance.
* @returns {undefined}
*/
_preRoutes(app: $Application): void {
Expand Down Expand Up @@ -185,7 +185,7 @@ export default class Routes {

/**
* Hook method for setting up middleware post setting up the routes.
* @param {!Express} app - The ExpressJS instanace.
* @param {!Express} app - The ExpressJS instance.
* @returns {undefined}
*/
_postRoutes(app: $Application): void {
Expand Down

0 comments on commit b37e496

Please sign in to comment.