Skip to content

Commit 6a17f69

Browse files
committed
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`.
1 parent 4adba2e commit 6a17f69

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

dist/sugar-es5.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -11494,7 +11494,7 @@
1149411494
/***
1149511495
* @method least([all] = false, [map])
1149611496
* @returns Array
11497-
* @short Returns the elements in the array with the least commonly occuring value.
11497+
* @short Returns the elements in the array with the least commonly occurring value.
1149811498
* @extra [map] can be passed in place of [all], and is a function of type
1149911499
* `mapFn` that maps the value to be checked or a string acting as a
1150011500
* shortcut. If [all] is true, will return multiple values in an array.
@@ -11529,7 +11529,7 @@
1152911529
/***
1153011530
* @method most([all] = false, [map])
1153111531
* @returns Array
11532-
* @short Returns the elements in the array with the most commonly occuring value.
11532+
* @short Returns the elements in the array with the most commonly occurring value.
1153311533
* @extra [map] can be passed in place of [all], and is a function of type
1153411534
* `mapFn` that maps the value to be checked or a string acting as a
1153511535
* shortcut. If [all] is true, will return multiple values in an array.
@@ -12189,7 +12189,7 @@
1218912189
* @method least([all] = false, [map])
1219012190
* @returns Mixed
1219112191
* @short Returns the key of the property in the object with the least commonly
12192-
* occuring value.
12192+
* occurring value.
1219312193
* @extra If [all] is true, will return an object with all properties in the
1219412194
* object with the least common value. [map] can be passed in place of
1219512195
* [all] and is a function of type `mapFn` that maps the value to be
@@ -12224,7 +12224,7 @@
1222412224
* @method most([all] = false, [map])
1222512225
* @returns Mixed
1222612226
* @short Returns the key of the property in the object with the most commonly
12227-
* occuring value.
12227+
* occurring value.
1222812228
* @extra If [all] is true, will return an object with all properties in the
1222912229
* object with the most common value. [map] can be passed in place of
1223012230
* [all] and is a function of type `mapFn` that maps the value to be
@@ -14103,4 +14103,4 @@
1410314103

1410414104
buildDateRangeUnits();
1410514105

14106-
}).call(this);
14106+
}).call(this);

dist/sugar.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -10942,7 +10942,7 @@
1094210942
/***
1094310943
* @method least([all] = false, [map])
1094410944
* @returns Array
10945-
* @short Returns the elements in the array with the least commonly occuring value.
10945+
* @short Returns the elements in the array with the least commonly occurring value.
1094610946
* @extra [map] can be passed in place of [all], and is a function of type
1094710947
* `mapFn` that maps the value to be checked or a string acting as a
1094810948
* shortcut. If [all] is true, will return multiple values in an array.
@@ -10977,7 +10977,7 @@
1097710977
/***
1097810978
* @method most([all] = false, [map])
1097910979
* @returns Array
10980-
* @short Returns the elements in the array with the most commonly occuring value.
10980+
* @short Returns the elements in the array with the most commonly occurring value.
1098110981
* @extra [map] can be passed in place of [all], and is a function of type
1098210982
* `mapFn` that maps the value to be checked or a string acting as a
1098310983
* shortcut. If [all] is true, will return multiple values in an array.
@@ -11637,7 +11637,7 @@
1163711637
* @method least([all] = false, [map])
1163811638
* @returns Mixed
1163911639
* @short Returns the key of the property in the object with the least commonly
11640-
* occuring value.
11640+
* occurring value.
1164111641
* @extra If [all] is true, will return an object with all properties in the
1164211642
* object with the least common value. [map] can be passed in place of
1164311643
* [all] and is a function of type `mapFn` that maps the value to be
@@ -11672,7 +11672,7 @@
1167211672
* @method most([all] = false, [map])
1167311673
* @returns Mixed
1167411674
* @short Returns the key of the property in the object with the most commonly
11675-
* occuring value.
11675+
* occurring value.
1167611676
* @extra If [all] is true, will return an object with all properties in the
1167711677
* object with the most common value. [map] can be passed in place of
1167811678
* [all] and is a function of type `mapFn` that maps the value to be
@@ -13551,4 +13551,4 @@
1355113551

1355213552
buildDateRangeUnits();
1355313553

13554-
}).call(this);
13554+
}).call(this);

lib/enumerable.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ defineInstance(sugarArray, {
733733
/***
734734
* @method least([all] = false, [map])
735735
* @returns Array
736-
* @short Returns the elements in the array with the least commonly occuring value.
736+
* @short Returns the elements in the array with the least commonly occurring value.
737737
* @extra [map] can be passed in place of [all], and is a function of type
738738
* `mapFn` that maps the value to be checked or a string acting as a
739739
* shortcut. If [all] is true, will return multiple values in an array.
@@ -768,7 +768,7 @@ defineInstance(sugarArray, {
768768
/***
769769
* @method most([all] = false, [map])
770770
* @returns Array
771-
* @short Returns the elements in the array with the most commonly occuring value.
771+
* @short Returns the elements in the array with the most commonly occurring value.
772772
* @extra [map] can be passed in place of [all], and is a function of type
773773
* `mapFn` that maps the value to be checked or a string acting as a
774774
* shortcut. If [all] is true, will return multiple values in an array.
@@ -1428,7 +1428,7 @@ defineInstanceAndStatic(sugarObject, {
14281428
* @method least([all] = false, [map])
14291429
* @returns Mixed
14301430
* @short Returns the key of the property in the object with the least commonly
1431-
* occuring value.
1431+
* occurring value.
14321432
* @extra If [all] is true, will return an object with all properties in the
14331433
* object with the least common value. [map] can be passed in place of
14341434
* [all] and is a function of type `mapFn` that maps the value to be
@@ -1463,7 +1463,7 @@ defineInstanceAndStatic(sugarObject, {
14631463
* @method most([all] = false, [map])
14641464
* @returns Mixed
14651465
* @short Returns the key of the property in the object with the most commonly
1466-
* occuring value.
1466+
* occurring value.
14671467
* @extra If [all] is true, will return an object with all properties in the
14681468
* object with the most common value. [map] can be passed in place of
14691469
* [all] and is a function of type `mapFn` that maps the value to be

0 commit comments

Comments
 (0)