diff options
author | Chang Bo Guo <guochbo@cn.ibm.com> | 2013-12-10 05:22:48 -0800 |
---|---|---|
committer | Chang Bo Guo <guochbo@cn.ibm.com> | 2013-12-10 21:56:20 -0800 |
commit | 5c9c54bc09f7f882491a651ed8c7e4dc265bf804 (patch) | |
tree | f86133001bab602ed7aa15b210748ad961413b61 /pecan/middleware | |
parent | 4d372ecc8704af9353ca506aac96529fedd4f696 (diff) | |
download | pecan-5c9c54bc09f7f882491a651ed8c7e4dc265bf804.tar.gz |
Fix typos in documents and comments
Fix typos detected by toolkit misspellings.
* pip install misspellings
* git ls-files | grep -v locale | misspellings -f -
Change-Id: I3d7c06bcc3b5d0cdf82b8da98a7fba15e935cab6
Diffstat (limited to 'pecan/middleware')
-rw-r--r-- | pecan/middleware/resources/shCore.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pecan/middleware/resources/shCore.js b/pecan/middleware/resources/shCore.js index b19bb9b..320e0b5 100644 --- a/pecan/middleware/resources/shCore.js +++ b/pecan/middleware/resources/shCore.js @@ -927,7 +927,7 @@ function fixInputString(str) }; /** - * Removes all white space at the begining and end of a string. + * Removes all white space at the beginning and end of a string. * * @param {String} str String to trim. * @return {String} Returns string without leading and following white space characters. @@ -968,7 +968,7 @@ function unindent(str) min = Math.min(matches[0].length, min); } - // trim minimum common number of white space from the begining of every line + // trim minimum common number of white space from the beginning of every line if (min > 0) for (var i = 0; i < lines.length; i++) lines[i] = lines[i].substr(min); @@ -1666,7 +1666,7 @@ sh.Highlighter.prototype = { * Initializes the highlighter/brush. * * Constructor isn't used for initialization so that nothing executes during necessary - * `new SyntaxHighlighter.Highlighter()` call when setting up brush inheritence. + * `new SyntaxHighlighter.Highlighter()` call when setting up brush inheritance. * * @param {Hash} params Highlighter parameters. */ |