Schuyler Cebulskie
6baf43dc24
Add Collection.filterArray
2016-10-15 01:20:31 -04:00
Schuyler Cebulskie
93425c3979
Expand collection array caching
2016-10-04 19:10:29 -04:00
Schuyler Cebulskie
2c3c91fe41
Merge branch 'master' into indev
2016-10-04 19:02:09 -04:00
Slamakans
53f5c2cb52
Cache array and keyArray in Collection ( #771 )
...
* Cache array and keyArray in Collection
Cache array and keyArray in the Collection class to improve consecutive
calls of collection.random() by around 400,000%, I think lel.
The speed decrease (I assume) compared to the previous version when
calling after it has changed is most likely negligible.
* Fix for ESLint
I think this fixes it.
2016-10-04 18:53:26 -04:00
Schuyler Cebulskie
0bcca7bb55
Add Collection.concat
2016-09-27 20:47:12 -04:00
Kelvin Wu
bd465108a7
Fix return type in docs.
2016-09-24 11:58:51 -04:00
Schuyler Cebulskie
737ad8e92b
Slightly improve some Collection docs
2016-09-22 21:36:06 -04:00
Schuyler Cebulskie
9cd249342b
Teensy reorganisation
2016-09-12 21:40:15 -04:00
Schuyler Cebulskie
ac85ffce4b
Add Collection.keyArray/firstKey/lastKey/randomKey
2016-09-12 21:39:41 -04:00
Schuyler Cebulskie
84b33f9b66
Add Collection.reduce
2016-09-12 21:33:29 -04:00
Schuyler Cebulskie
fba3508079
Add a little more detail about value
2016-09-12 02:52:32 -04:00
Schuyler Cebulskie
2aae20085b
Key -> Property
2016-09-12 02:20:53 -04:00
Schuyler Cebulskie
e24c1e55a0
Remove wholly unnecessary example
2016-09-12 00:33:24 -04:00
Schuyler Cebulskie
7457985e60
Fix Collection.findKey doc link
2016-09-12 00:28:27 -04:00
Schuyler Cebulskie
95605863c7
Add Collection.findKey
2016-09-12 00:26:02 -04:00
Schuyler Cebulskie
ac1f5f32e2
Add Collection.find with function
2016-09-12 00:18:21 -04:00
Schuyler Cebulskie
47d71d32f3
Make grammer gooder
2016-09-11 01:40:37 -04:00
Schuyler Cebulskie
594836b1bf
Rewrite Collection.map/filter, and add some/every
2016-09-08 02:26:28 -04:00
Amish Shah
7b870d13de
Fix collection.find/findAll docs
2016-09-04 21:41:19 +01:00
Amish Shah
4d2bb891a9
Fix doc gen
2016-09-04 11:39:40 +01:00
Schuyler Cebulskie
0b908f5bce
Cleanup Part 2: Electric Boogaloo (Reloaded) ( #594 )
...
* Cleanup Part 2: Electric Boogaloo (Reloaded)
* Moar cleanup
* Tweak NOT_A_PERMISSION error
2016-09-04 10:08:09 +01:00
Amish Shah
7f9ea762ed
Add Collection.map();
2016-09-03 23:00:14 +01:00
Schuyler Cebulskie
68acf37fd4
Add stricter/better ESLint config ( #589 )
...
* Add stricter/better ESLint config
* Remove more unnecessary @returns
2016-09-03 20:45:23 +01:00
Schuyler Cebulskie
27652b94af
Make JSDocs follow general conventions ( #582 )
...
* Make JSDocs follow usual conventions
* Fix StringResolvable name
* Make function lowercase
2016-09-03 09:57:25 +01:00
Schuyler Cebulskie
bce3cd2b8b
Add key/value validation to Collection.find/findAll ( #569 )
...
* Add key/value validation to Collection.find/findAll
* Fix ESLint errors
2016-08-30 18:20:20 +01:00
Schuyler Cebulskie
56352220af
Make Collection.find and findAll use .values() ( #567 )
...
* Make Collection.find and findAll use .values()
* Make Collection.deleteAll use .values()
2016-08-30 09:47:11 +01:00
Schuyler Cebulskie
60a1ba3088
Fix Collection.exists ( #566 )
2016-08-30 09:46:40 +01:00
Amish Shah
b22bda74b8
Fix ESLint
2016-08-26 21:17:37 +01:00
Amish Shah
0988b47fcd
fix the derp
2016-08-26 18:49:19 +01:00
Amish Shah
84a4755f53
Fix typo in docs
2016-08-23 14:44:22 +01:00
Amish Shah
51a399d558
fix docs
2016-08-23 00:18:43 +01:00
Amish Shah
1deefbd8cd
change maps to Collections
2016-08-23 00:17:44 +01:00