Skip to content

Commit 474ab97

Browse files
Merge pull request #133 from Leeleo3x/patch-1
Update README.md
2 parents 18c27f8 + 4a56f82 commit 474ab97

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ gitment.render('comments')
8181

8282
### 4. Initialize Your Comments
8383

84-
After the page published, you should visit your page, login with your GitHub account(make sure you're repo's owner), and click the initialize button, to create a related issue in your repo.
84+
After the page is published, you should visit your page, login with your GitHub account(make sure you're repo's owner), and click the initialize button, to create a related issue in your repo.
8585
After that, others can leave their comments.
8686

8787
## Methods
@@ -209,12 +209,12 @@ You can inspect the DOM structure in the browser and write your own styles.
209209
A Gitment theme is an object contains several render functions.
210210

211211
By default Gitment has five render functions: `render`, `renderHeader`, `renderComments`, `renderEditor`, `renderFooter`.
212-
The last four render independent components and `render` function renders them together.
212+
The last four render independent components and `render` functions render them together.
213213
All of them can be used independently.
214214

215215
You can override any render function above or write your own render function.
216216

217-
For example, you can override the `render` function to put editor before comments list, and render a new component.
217+
For example, you can override the `render` function to put an editor before the comment list, and render a new component.
218218

219219
```javascript
220220
const myTheme = {
@@ -284,9 +284,9 @@ If you find a way to hack it, please [open an issue](https://github.com/imsun/gi
284284
### Why does Gitment send a request to gh-oauth.imsun.net?
285285

286286
[https://gh-oauth.imsun.net](https://gh-oauth.imsun.net) is an simple open-source service to proxy [one request](https://developer.github.com/v3/oauth/#2-github-redirects-back-to-your-site) during users logging in.
287-
Because GitHub does't attach a CORS header to it.
287+
Because GitHub doesn't attach a CORS header to it.
288288

289-
This service won't record or store anything, only proxy and attach a CORS header to that request.
289+
This service won't record or store anything. It only attaches a CORS header to that request and provides proxy.
290290
So that users can login in the frontend without any server-side implementation.
291291

292292
For more details, checkout [this project](https://github.com/imsun/gh-oauth-server).

0 commit comments

Comments
 (0)