diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2014-03-13 11:16:52 -0700 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2014-03-16 10:22:02 -0400 |
commit | f25a5b43d99f6ccf5365a6a817ed068f60a76ae5 (patch) | |
tree | 90dfc6373cd83a61419fa82be9e698cf92978e54 | |
parent | c84835633a50c72660a36ad2dd1b28b99d73c03d (diff) | |
download | jquery-f25a5b43d99f6ccf5365a6a817ed068f60a76ae5.tar.gz jquery-f25a5b43d99f6ccf5365a6a817ed068f60a76ae5.zip |
Readme: Fix subsection titles and grammar, thanks @robgraeber
Fixes gh-1540
(cherry picked from commit 44247b1cf2f4e76e8153f8cbac69dcfd5b2eacd4)
-rw-r--r-- | README.md | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -206,9 +206,9 @@ Additionally, both methods can be combined. 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): @@ -217,7 +217,7 @@ git reset --hard upstream/master 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: @@ -226,7 +226,7 @@ git config branch.autosetuprebase local ``` (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 `git mergetool`. Even though the default tool `xxdiff` looks awful/old, it's rather useful. @@ -254,7 +254,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 ### @@ -353,7 +353,7 @@ callback( jQueryFromIFrame, iFrameWindow, iFrameDocument ); ### Load tests in an iframe (window.iframeCallback) ### 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 arguments passed to window.iframeCallback, whatever that may be |