Skip to content

Commit 02e7827

Browse files
author
Eran Hammer
committed
Merge pull request hapijs#2440 from calmdev/engrish
Minor grammar and spelling corrections.
2 parents ce924d2 + 1199af5 commit 02e7827

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

API.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,14 +1688,14 @@ Note that the server object should not be used to emit application events as its
16881688
implementation is designed to fan events out to the various plugin selections and not for
16891689
application events.
16901690

1691-
When provided (as listed below) the `event` object include:
1691+
When provided (as listed below) the `event` object includes:
16921692

16931693
- `timestamp` - the event timestamp.
16941694
- `request` - if the event relates to a request, the `request id`.
16951695
- `server` - if the event relates to a server, the `server.info.uri`.
16961696
- `tags` - an array of tags (e.g. `['error', 'http']`).
16971697
- `data` - optional event-specific information.
1698-
- `internal` - `true` is the event was generated internally by the framework.
1698+
- `internal` - `true` if the event was generated internally by the framework.
16991699

17001700
The `'log'` event includes the `event` object and a `tags` object (where each tag is a key with the
17011701
value `true`):
@@ -1976,7 +1976,7 @@ server.route({ method: 'GET', path: '/user', config: user });
19761976

19771977
#### Route options
19781978

1979-
Each route can be customize to change the default behavior of the request lifecycle using the
1979+
Each route can be customized to change the default behavior of the request lifecycle using the
19801980
following options:
19811981
- `app` - application-specific configuration. Should not be used by [plugins](#plugins) which
19821982
should use `plugins[name]` instead.
@@ -3413,5 +3413,5 @@ var handler = function (request, reply) {
34133413
};
34143414
```
34153415

3416-
Changing to a permanent or non-rewriterable redirect is also available see
3416+
Changing to a permanent or non-rewritable redirect is also available see
34173417
[response object redirect](#response-object-redirect) for more information.

0 commit comments

Comments
 (0)