mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Readme: Fix subsection titles and grammar, thanks @robgraeber
Fixes gh-1540
This commit is contained in:
parent
aa951a3184
commit
44247b1cf2
12
README.md
12
README.md
@ -210,9 +210,9 @@ Additionally, both methods can be combined.
|
|||||||
Essential Git
|
Essential Git
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
As the source code is handled by the version control system Git, it's useful to know some features used.
|
As the source code is handled by the Git version control system, it's useful to know some features used.
|
||||||
|
|
||||||
### cleaning ###
|
### Cleaning ###
|
||||||
|
|
||||||
If you want to purge your working directory back to the status of upstream, following commands can be used (remember everything you've worked on is gone after these):
|
If you want to purge your working directory back to the status of upstream, following commands can be used (remember everything you've worked on is gone after these):
|
||||||
|
|
||||||
@ -221,7 +221,7 @@ git reset --hard upstream/master
|
|||||||
git clean -fdx
|
git clean -fdx
|
||||||
```
|
```
|
||||||
|
|
||||||
### rebasing ###
|
### Rebasing ###
|
||||||
|
|
||||||
For feature/topic branches, you should always use the `--rebase` flag to `git pull`, or if you are usually handling many temporary "to be in a github pull request" branches, run following to automate this:
|
For feature/topic branches, you should always use the `--rebase` flag to `git pull`, or if you are usually handling many temporary "to be in a github pull request" branches, run following to automate this:
|
||||||
|
|
||||||
@ -230,7 +230,7 @@ git config branch.autosetuprebase local
|
|||||||
```
|
```
|
||||||
(see `man git-config` for more information)
|
(see `man git-config` for more information)
|
||||||
|
|
||||||
### handling merge conflicts ###
|
### Handling merge conflicts ###
|
||||||
|
|
||||||
If you're getting merge conflicts when merging, instead of editing the conflicted files manually, you can use the feature
|
If you're getting merge conflicts when merging, instead of editing the conflicted files manually, you can use the feature
|
||||||
`git mergetool`. Even though the default tool `xxdiff` looks awful/old, it's rather useful.
|
`git mergetool`. Even though the default tool `xxdiff` looks awful/old, it's rather useful.
|
||||||
@ -258,7 +258,7 @@ start();
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
note: QUnit's eventual addition of an argument to stop/start is ignored in this test suite so that start and stop can be passed as callbacks without worrying about their parameters
|
Note: QUnit's eventual addition of an argument to stop/start is ignored in this test suite so that start and stop can be passed as callbacks without worrying about their parameters
|
||||||
|
|
||||||
### Test assertions ###
|
### Test assertions ###
|
||||||
|
|
||||||
@ -357,7 +357,7 @@ callback( jQueryFromIFrame, iFrameWindow, iFrameDocument );
|
|||||||
### Load tests in an iframe (window.iframeCallback) ###
|
### Load tests in an iframe (window.iframeCallback) ###
|
||||||
|
|
||||||
Loads a given page constructing a url with fileName: `"./data/" + fileName + ".html"`
|
Loads a given page constructing a url with fileName: `"./data/" + fileName + ".html"`
|
||||||
The given callback is fired when window.iframeCallback is called by the page
|
The given callback is fired when window.iframeCallback is called by the page.
|
||||||
The arguments passed to the callback are the same as the
|
The arguments passed to the callback are the same as the
|
||||||
arguments passed to window.iframeCallback, whatever that may be
|
arguments passed to window.iframeCallback, whatever that may be
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user