Commit Graph

1624 Commits

Author SHA1 Message Date
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
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
95a121a832 Add counter snippet 2018-05-06 17:55:46 +03:00
709b3a31b7 Travis build: 2020 2018-05-02 17:21:29 +00:00
14f98f585e fix spacing and semicolons 2018-04-27 07:57:19 -04:00
dd1563d9f7 add snippet 2018-04-26 20:17:15 -04:00
59c0181ede update description, run tests 2018-04-26 19:22:21 +02:00
ee2bba8ef2 update palindrome snippet 2018-04-26 19:20:41 +02:00
13769cce1f Travis build: 1976 2018-04-19 17:07:16 +00:00
11dcb354be Update when.md 2018-04-19 20:01:20 +03:00
9a32a712d1 word choice 2018-04-18 20:47:57 -04:00
341312d57e add snippet 2018-04-18 20:45:32 -04:00
9ea87f5ebe Travis build: 1968 2018-04-16 14:53:39 +00:00
0f28ce5212 Merge pull request #651 from maple3142/master
[FEATURE] Add initializeNDArray
2018-04-16 17:52:13 +03:00
7c60281a4b Update initializeNDArray.md 2018-04-16 17:50:15 +03:00
99ac5a6137 Add isBrowserTabFocused, fixed is tests 2018-04-15 19:18:44 +03:00
5a90166db2 Add initializeNDArray 2018-04-14 15:52:39 +08:00
bac7270495 Travis build: 1951 2018-04-12 18:45:32 +00:00
d5bd85bdca Merge pull request #646 from yazeedb/add-renameKeys
[FEATURE] renameKeys
2018-04-12 21:43:14 +03:00
07cb256893 Merge pull request #648 from Chalarangelo/hz
[FEATURE] hz
2018-04-12 21:42:52 +03:00
503e74c8c6 Update hz.md 2018-04-12 21:42:34 +03:00
48b5a74766 Update hz.md 2018-04-12 15:26:07 +10:00
7f42adf4c9 Update is.md 2018-04-12 15:20:50 +10:00
1cf3abb886 fix: use constructor property instead of instanceof 2018-04-12 00:29:40 +10:00
5403a76a7c Create hz.md 2018-04-11 23:39:49 +10:00