From 1020704b6aa141b7041383daea45f3729f6547ed Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 20 Sep 2020 14:43:27 +1000 Subject: [PATCH] docs: Fix simple typo, comparision -> comparison There is a small typo in dev/jquery.jtable.utils.js, jquery.jtable.js. Should read `comparison` rather than `comparision`. --- dev/jquery.jtable.utils.js | 4 ++-- jquery.jtable.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/jquery.jtable.utils.js b/dev/jquery.jtable.utils.js index 5080f162..769abef9 100644 --- a/dev/jquery.jtable.utils.js +++ b/dev/jquery.jtable.utils.js @@ -37,11 +37,11 @@ } }, - /* Finds index of an element in an array according to given comparision function + /* Finds index of an element in an array according to given comparison function *************************************************************************/ _findIndexInArray: function (value, array, compareFunc) { - //If not defined, use default comparision + //If not defined, use default comparison if (!compareFunc) { compareFunc = function (a, b) { return a == b; diff --git a/jquery.jtable.js b/jquery.jtable.js index e69f83e0..a21c16f8 100644 --- a/jquery.jtable.js +++ b/jquery.jtable.js @@ -1429,11 +1429,11 @@ THE SOFTWARE. } }, - /* Finds index of an element in an array according to given comparision function + /* Finds index of an element in an array according to given comparison function *************************************************************************/ _findIndexInArray: function (value, array, compareFunc) { - //If not defined, use default comparision + //If not defined, use default comparison if (!compareFunc) { compareFunc = function (a, b) { return a == b;