Skip to content

Commit cd4a937

Browse files
bhavya9107EugeneHlushko
authored andcommitted
docs: grammar (#2828)
1 parent 4b1faa0 commit cd4a937

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

src/content/api/hot-module-replacement.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ module.hot.decline(
6666
);
6767
```
6868

69-
Flag a dependency as not-update-able. This makes sense when changing exports of this dependency can be handled or handling is not implemented yet. Depending on your HMR management code an update to this dependencies (or unaccepted dependencies of it) usually causes a full-reload of the page.
69+
Flag a dependency as not-update-able. This makes sense when changing exports of this dependency can be handled or handling is not implemented yet. Depending on your HMR management code an update to these dependencies (or unaccepted dependencies of it) usually causes a full-reload of the page.
7070

7171
### `decline` (self)
7272

@@ -76,7 +76,7 @@ Reject updates for itself.
7676
module.hot.decline();
7777
```
7878

79-
Flag this module as not-update-able. This make sense when this module has inrevertable side-effects, or HMR handling is not implemented for this module yet. Depending on your HMR management code an update to this module (or unaccepted dependencies) usually causes a full-reload of the page.
79+
Flag this module as not-update-able. This makes sense when this module has irreversible side-effects, or HMR handling is not implemented for this module yet. Depending on your HMR management code an update to this module (or unaccepted dependencies) usually causes a full-reload of the page.
8080

8181
### `dispose` (or `addDisposeHandler`)
8282

@@ -115,7 +115,7 @@ module.hot.status(); // Will return one of the following strings...
115115
| ready | The update is prepared and available |
116116
| dispose | The process is calling the `dispose` handlers on the modules that will be replaced |
117117
| apply | The process is calling the `accept` handlers and re-executing self-accepted modules |
118-
| abort | An update was aborted, but the system is still in it's previous state |
118+
| abort | An update was aborted, but the system is still in its previous state |
119119
| fail | An update has thrown an exception and the system's state has been compromised |
120120

121121

src/content/contribute/debugging.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ contributors:
55
- skipjack
66
- tbroadley
77
- madhavarshney
8+
- bhavya9107
89
related:
910
- title: Learn and Debug webpack with Chrome DevTools!
1011
url: https://medium.com/webpack/webpack-bits-learn-and-debug-webpack-with-chrome-dev-tools-da1c5b19554
@@ -14,7 +15,7 @@ related:
1415
url: https://medium.com/@paul_irish/debugging-node-js-nightlies-with-chrome-devtools-7c4a1b95ae27
1516
---
1617

17-
When contributing to the core repo, writing a loader/plugin, or even just working on complex project, debugging tools can be central to your workflow. Whether the problem is slow performance on a large project or an unhelpful traceback, the following utilities can make figuring it out less painful.
18+
When contributing to the core repo, writing a loader/plugin, or even just working on a complex project, debugging tools can be central to your workflow. Whether the problem is slow performance on a large project or an unhelpful traceback, the following utilities can make figuring it out less painful.
1819

1920
- The [`stats` data](/api/stats) made available through [Node](/api/node#stats-object) and the [CLI](/api/cli#common-options).
2021
- Chrome __DevTools__ via `node-nightly` and the latest Node.js versions.
@@ -54,7 +55,7 @@ Now, we'll need to run it once to finish the installation:
5455
node-nightly
5556
```
5657

57-
Now, we can simply use `node-nightly` along with the `--inspect` flag to start our build in any webpack-based project. Note that we cannot run NPM `scripts`, e.g. `npm run build`, so we'll have specify the full `node_modules` path:
58+
Now, we can simply use `node-nightly` along with the `--inspect` flag to start our build in any webpack-based project. Note that we cannot run NPM `scripts`, e.g. `npm run build`, so we'll have to specify the full `node_modules` path:
5859

5960
``` bash
6061
node-nightly --inspect ./node_modules/webpack/bin/webpack.js

src/content/contribute/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ But what is the return on the investment?
2222

2323
## Developers
2424

25-
The biggest core feature we'd like to provide is enjoyable development experience. Developers like you can help by contributing to rich and vibrant documentation, issuing pull requests to help us cover niche use cases, and to help sustain what you love about webpack.
25+
The biggest core feature we'd like to provide is an enjoyable development experience. Developers like you can help by contributing to rich and vibrant documentation, issuing pull requests to help us cover niche use cases, and to help sustain what you love about webpack.
2626

2727
### How Can I Help?
2828

@@ -39,7 +39,7 @@ You can ask your employer to improve your workflow by leveraging webpack: an all
3939

4040
### Your Contributions
4141

42-
Contributing to webpack is not contributing to an exclusive club. You as a developer are contributing to the overall health of downstream projects. Hundreds, if not thousands, of projects depend on webpack and contributing will make the ecosystem better for all users.
42+
Contributing to webpack is not contributing to an exclusive club. You as a developer are contributing to the overall health of downstream projects. Hundreds, if not thousands, of projects depend on webpack and contributing will make the ecosystem better for all the users.
4343

4444
The remainder of this section of the site is dedicated to developers such as yourself who would like to become a part of our ever-growing community:
4545

@@ -64,7 +64,7 @@ Aside from monetary assistance, companies can support webpack by:
6464
- Providing developers that are not actively working on a project.
6565
- Contributing computing power for improved CI and regression testing.
6666

67-
You can also encourage your developers to contribute to the ecosystem by open-sourcing webpack loaders, plugins and other utilities. And, as mentioned above, we would greatly appreciate any help increasing our CI/CD infrastructure.
67+
You can also encourage your developers to contribute to the ecosystem by open-sourcing webpack loaders, plugins and other utilities. And, as mentioned above, we would greatly appreciate any help in increasing our CI/CD infrastructure.
6868

6969
### Anyone Else
7070

0 commit comments

Comments
 (0)