From 2d7bd59858e9db07395e4e1f0ba02b19098e6aa3 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Mon, 20 Apr 2020 05:59:46 +1000 Subject: [PATCH] docs: Fix simple typo, begining -> beginning There is a small typo in docs/js/shCore.js. Should read `beginning` rather than `begining`. --- docs/js/shCore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/js/shCore.js b/docs/js/shCore.js index 4778a62..188fa2c 100644 --- a/docs/js/shCore.js +++ b/docs/js/shCore.js @@ -925,7 +925,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. @@ -966,7 +966,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);