From 6a17f6971a27740b465e6207737992f8a70708d3 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 19 Apr 2020 07:02:10 +1000 Subject: [PATCH] docs: Fix simple typo, occuring -> occurring There is a small typo in dist/sugar-es5.js, dist/sugar.js, lib/enumerable.js. Should read `occurring` rather than `occuring`. --- dist/sugar-es5.js | 10 +++++----- dist/sugar.js | 10 +++++----- lib/enumerable.js | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/dist/sugar-es5.js b/dist/sugar-es5.js index d6f8313c4..ce2778b4e 100644 --- a/dist/sugar-es5.js +++ b/dist/sugar-es5.js @@ -11494,7 +11494,7 @@ /*** * @method least([all] = false, [map]) * @returns Array - * @short Returns the elements in the array with the least commonly occuring value. + * @short Returns the elements in the array with the least commonly occurring value. * @extra [map] can be passed in place of [all], and is a function of type * `mapFn` that maps the value to be checked or a string acting as a * shortcut. If [all] is true, will return multiple values in an array. @@ -11529,7 +11529,7 @@ /*** * @method most([all] = false, [map]) * @returns Array - * @short Returns the elements in the array with the most commonly occuring value. + * @short Returns the elements in the array with the most commonly occurring value. * @extra [map] can be passed in place of [all], and is a function of type * `mapFn` that maps the value to be checked or a string acting as a * shortcut. If [all] is true, will return multiple values in an array. @@ -12189,7 +12189,7 @@ * @method least([all] = false, [map]) * @returns Mixed * @short Returns the key of the property in the object with the least commonly - * occuring value. + * occurring value. * @extra If [all] is true, will return an object with all properties in the * object with the least common value. [map] can be passed in place of * [all] and is a function of type `mapFn` that maps the value to be @@ -12224,7 +12224,7 @@ * @method most([all] = false, [map]) * @returns Mixed * @short Returns the key of the property in the object with the most commonly - * occuring value. + * occurring value. * @extra If [all] is true, will return an object with all properties in the * object with the most common value. [map] can be passed in place of * [all] and is a function of type `mapFn` that maps the value to be @@ -14103,4 +14103,4 @@ buildDateRangeUnits(); -}).call(this); \ No newline at end of file +}).call(this); diff --git a/dist/sugar.js b/dist/sugar.js index 89c5bbbe7..7bcfb10e1 100644 --- a/dist/sugar.js +++ b/dist/sugar.js @@ -10942,7 +10942,7 @@ /*** * @method least([all] = false, [map]) * @returns Array - * @short Returns the elements in the array with the least commonly occuring value. + * @short Returns the elements in the array with the least commonly occurring value. * @extra [map] can be passed in place of [all], and is a function of type * `mapFn` that maps the value to be checked or a string acting as a * shortcut. If [all] is true, will return multiple values in an array. @@ -10977,7 +10977,7 @@ /*** * @method most([all] = false, [map]) * @returns Array - * @short Returns the elements in the array with the most commonly occuring value. + * @short Returns the elements in the array with the most commonly occurring value. * @extra [map] can be passed in place of [all], and is a function of type * `mapFn` that maps the value to be checked or a string acting as a * shortcut. If [all] is true, will return multiple values in an array. @@ -11637,7 +11637,7 @@ * @method least([all] = false, [map]) * @returns Mixed * @short Returns the key of the property in the object with the least commonly - * occuring value. + * occurring value. * @extra If [all] is true, will return an object with all properties in the * object with the least common value. [map] can be passed in place of * [all] and is a function of type `mapFn` that maps the value to be @@ -11672,7 +11672,7 @@ * @method most([all] = false, [map]) * @returns Mixed * @short Returns the key of the property in the object with the most commonly - * occuring value. + * occurring value. * @extra If [all] is true, will return an object with all properties in the * object with the most common value. [map] can be passed in place of * [all] and is a function of type `mapFn` that maps the value to be @@ -13551,4 +13551,4 @@ buildDateRangeUnits(); -}).call(this); \ No newline at end of file +}).call(this); diff --git a/lib/enumerable.js b/lib/enumerable.js index 3500ef789..6b85d36b3 100644 --- a/lib/enumerable.js +++ b/lib/enumerable.js @@ -733,7 +733,7 @@ defineInstance(sugarArray, { /*** * @method least([all] = false, [map]) * @returns Array - * @short Returns the elements in the array with the least commonly occuring value. + * @short Returns the elements in the array with the least commonly occurring value. * @extra [map] can be passed in place of [all], and is a function of type * `mapFn` that maps the value to be checked or a string acting as a * shortcut. If [all] is true, will return multiple values in an array. @@ -768,7 +768,7 @@ defineInstance(sugarArray, { /*** * @method most([all] = false, [map]) * @returns Array - * @short Returns the elements in the array with the most commonly occuring value. + * @short Returns the elements in the array with the most commonly occurring value. * @extra [map] can be passed in place of [all], and is a function of type * `mapFn` that maps the value to be checked or a string acting as a * shortcut. If [all] is true, will return multiple values in an array. @@ -1428,7 +1428,7 @@ defineInstanceAndStatic(sugarObject, { * @method least([all] = false, [map]) * @returns Mixed * @short Returns the key of the property in the object with the least commonly - * occuring value. + * occurring value. * @extra If [all] is true, will return an object with all properties in the * object with the least common value. [map] can be passed in place of * [all] and is a function of type `mapFn` that maps the value to be @@ -1463,7 +1463,7 @@ defineInstanceAndStatic(sugarObject, { * @method most([all] = false, [map]) * @returns Mixed * @short Returns the key of the property in the object with the most commonly - * occuring value. + * occurring value. * @extra If [all] is true, will return an object with all properties in the * object with the most common value. [map] can be passed in place of * [all] and is a function of type `mapFn` that maps the value to be