Commit Graph

1747 Commits

Author SHA1 Message Date
ab1d0ed9c8 refactor map/filter with reduce 2018-07-08 23:34:11 -07:00
6304ab2d11 refactor with ternary and small example 2018-07-08 15:24:11 -07:00
2465bccb95 WIP: create snippet dig.md . npm run tester failed. 2018-07-08 13:06:24 -07:00
50d1141fd8 Travis build: 53 2018-07-06 17:33:49 +00:00
171706056f Quotation consistency between toCSV converters 2018-07-06 20:29:32 +03:00
5e0b1e113b Add JSONtoCSV
Resolve #686
2018-07-06 20:25:46 +03:00
677cf6e769 Travis build: 31 2018-06-27 18:17:10 +00:00
9788e764be Add CSVToJSON 2018-06-27 21:14:24 +03:00
94744440cc Travis build: 29 2018-06-27 17:59:04 +00:00
817298ab88 Add CSVtoArray 2018-06-27 20:57:54 +03:00
6c8888fcc6 Travis build: 27 [custom] 2018-06-27 17:46:34 +00:00
11c393f296 Merge remote-tracking branch 'origin/master' 2018-06-27 20:26:57 +03:00
de42015a01 Add arrayToCSV 2018-06-27 20:26:43 +03:00
d56e750cb0 Update matchesWith.md 2018-06-23 16:36:25 +03:00
770922a9d2 fix type and make strict equal 2018-06-23 18:46:47 +08:00
0f6d4dba24 Travis build: 11 2018-06-23 07:22:21 +00:00
70f9d37649 Merge pull request #671 from OutThisLife/patch-1
ELO snippet formatting + performance
2018-06-23 10:21:26 +03:00
cfda1b7841 Update elo.md 2018-06-23 10:20:37 +03:00
5044fc1227 Update elo.md 2018-06-23 10:19:59 +03:00
e4eebca563 Update elo.md 2018-06-23 10:17:42 +03:00
bfae99fb54 fix data check 2018-06-23 10:16:41 +08:00
1e4ebaf4c0 Travis build: 2165 2018-06-19 17:59:43 +00:00
1c8e535a41 Add 4 new browser snippets
triggerEvent - trigger an event on an element, insertAfter & insertBefore - parse and insert HTML after or before an element respectively, elementContains - checks if an element contains another element
2018-06-19 20:57:58 +03:00
e735b9229c Travis build: 2161 2018-06-18 18:26:52 +00:00
39d99a4723 Update countOccurrences function
Removes unnecessary addition of `0`.
2018-06-05 13:25:49 +01:00
8e1c3ef934 Travis build: 2110 2018-05-31 18:13:03 +00:00
aa9e98fa85 Update toHash.md 2018-05-31 21:09:51 +03:00
8ff17839b9 Remove unneeded closing parenthesis 2018-05-31 10:57:28 -07:00
22cad5941e Use call on Reduce to apply it to array likes 2018-05-31 10:56:07 -07:00
0f28eb4fb6 Update toHash.md 2018-05-30 16:15:13 -07:00
43efafa691 Rename toHash to toHash.md 2018-05-30 16:14:04 -07:00
25038e7f03 Add toHash snippet
A thing I've found myself using a LOT recently to create single pass closures so that I can grab a referenced object based on an identifier in another array. Useful for unfolding loops so you only have to loop over a dataset once before referencing them later
2018-05-30 16:12:29 -07:00
b8695263ee ELO snippet formatting + performance
Not assigning `arr.length` to a variable in a for loop means that the read is done on every iteration.
2018-05-30 11:07:10 -05:00
58f3241153 Merge pull request #669 from Siarhei-Zharnasek/master
Simplify takeWhile
2018-05-17 17:27:20 +03:00
62c963f469 Simplify takeWhile 2018-05-17 17:17:38 +04:00
fbd68ec863 Merge pull request #666 from Chalarangelo/skatcat31-fix_deepclone
FIX #665 Update deepClone.md
2018-05-15 21:52:27 +03:00
fe45b95fd0 Simplify findLastIndex 2018-05-14 16:51:56 +04:00
3d1da367b9 Update deepClone.md
We missed that the clone length wasn't there. This fixes the issue
2018-05-13 23:07:44 -07:00
2e122516cd Fix findLast docs code 2018-05-11 16:18:35 +04:00
656b0492d6 Fix findLast snippet docs 2018-05-11 16:10:15 +04:00
50e3be73af Travis build: 2050 2018-05-11 09:46:16 +00:00
ddc299eedc deepClone: Fixed indents & failing tests 2018-05-11 10:23:59 +01:00
2930713371 Simplify deepClone snippet's handling of arrays. 2018-05-10 19:22:35 +01:00
oh
f2abd5c226 fix(deepClone): Fixed problems with array values
Would previously create an object with indices as keys. Now properly clones as array.

#658
2018-05-09 20:01:55 +01:00
a011873e18 Travis build: 2040 2018-05-07 08:34:21 +00:00
819d97a3e8 shorten description, remove extraneous information 2018-05-06 20:37:04 -07:00
7316aac9c6 update description to mention inner closure
updated description to mention the anonymous inner closure that is self executed to declare a variable in a local context
2018-05-07 11:18:15 +08:00
b5a8e3987f update arrayToHtmlList to more high efficiency 2018-05-07 09:35:03 +08:00
e8ecfc7085 Add nodeListToArray 2018-05-06 18:11:21 +03:00
dd547e5167 Travis build: 2032 2018-05-06 14:57:19 +00:00