summaryrefslogtreecommitdiff
path: root/pecan/middleware/resources/shCore.js
diff options
context:
space:
mode:
Diffstat (limited to 'pecan/middleware/resources/shCore.js')
-rw-r--r--pecan/middleware/resources/shCore.js6
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.
*/