Commit graph

64 commits

Author SHA1 Message Date
LeviDing
23fb044973
Update task.md 2020-07-07 20:18:26 +08:00
aadijoshi
393f1ce33d
Set fake timers after calling throttle
Calling throttle before setting the fake timers will break any implementations that save a timestamp outside the wrapper function.
2020-06-16 18:51:17 +05:30
Ilya Kantor
c799f28d2e minor fixes 2020-05-06 23:36:02 +03:00
Ilya Kantor
83c07e100a minor fixes 2020-05-06 23:34:02 +03:00
Ilya Kantor
08309a07f6 minor fixes 2020-05-06 23:24:22 +03:00
Ilya Kantor
6cf15b78bc minor fixes 2020-05-06 23:23:31 +03:00
Ilya Kantor
9bd640c414 minor fixes 2020-05-06 23:22:40 +03:00
Ilya Kantor
fc2ba214e8 minor fixes 2020-05-06 23:22:14 +03:00
Ilya Kantor
df6f6be420 minor fixes 2020-05-06 23:21:13 +03:00
Ilya Kantor
3440a4eb80 minor fixes 2020-05-06 23:19:55 +03:00
Ilya Kantor
0444de2a00 minor fixes 2020-05-06 22:46:26 +03:00
Ilya Kantor
458493781f minor fixes 2020-05-06 20:57:42 +03:00
Ilya Kantor
844b96a821 fix debounce 2020-05-06 20:35:58 +03:00
Ilya Kantor
80f2becc95 fix debounce 2020-05-06 20:29:17 +03:00
Ilya Kantor
cd5a7e451f fix debounce 2020-05-06 20:27:34 +03:00
LeviDing
c039f04ef9
Update article.md 2020-02-29 19:52:30 +08:00
Ilya Kantor
994390265a fixes #1669 2019-12-27 11:40:59 +03:00
Ilya Kantor
ce8e68f21c minor fixes 2019-11-28 13:56:48 +03:00
Ilya Kantor
d5195b5d59 closes #1524 #716 2019-10-29 06:32:44 +03:00
Ilya Kantor
3483424f62
Merge pull request #1476 from hrodward/patch-9
Update article.md
2019-10-19 20:25:02 +03:00
Ilya Kantor
6634181d6d
Merge pull request #1477 from hrodward/patch-10
Update article.md
2019-10-19 20:24:41 +03:00
Ilya Kantor
edfc79d4dc
Merge pull request #1479 from hrodward/patch-11
Update task.md
2019-10-19 20:23:55 +03:00
hrodward
2ffc997180
Update solution.md
Minor grammar fixes and suggestions
2019-10-18 14:58:37 +02:00
hrodward
a2b45a852f
Update task.md
Minor grammar; removed unnecessary semicolon; added (best practices) semicolon
2019-10-18 11:37:45 +02:00
hrodward
5ac537f211
Update article.md
Deleted the full-stop as it's one sentence only
2019-10-18 08:37:21 +02:00
hrodward
81a250337d
Update article.md
There has to be a scary CPU-intensive task here, otherwise the example wouldn't make sense. Hence the suppression of "can";
I have also removed "actually" because in this context it would be interpreted as "to your surprise", which is not the case here
2019-10-18 08:07:53 +02:00
Artur Haurylkevich
ee80b55a1b
add test case for debounce 2019-10-17 22:01:44 +03:00
Ilya Kantor
7418213b66 re-import images from Sketch (no changes) 2019-10-10 17:08:16 +03:00
paroche
cdde99fd19
Update task.md
Wording was ungrammatical and hard to understand. I made my best guess as to what you want to say. However, it is not clear from the description or the examples whether the debounce wrapper should inhibit calls attempted ms milliseconds after the last call that wasn't ignored, or ms milliseconds after the last call that was attempted, even if it was ignored. I would think it would be the former, but the example could go either way. If the f(4) example used 1000 or 1001 ms and still runs, that would clear it up. If it has to be 1100 like it is, that would suggest that it's the second scenario above. In my propsed change I preserved the ambiguity.
2019-09-02 19:49:54 -06:00
Ilya Kantor
ade541bd61 closes #1294 2019-09-02 23:57:08 +03:00
Ilya Kantor
b2cedf7b0a closes #1308 2019-09-02 23:43:51 +03:00
paroche
bcae3c640f
Update article.md 2019-09-01 19:31:28 -06:00
paroche
6292469b88
Update article.md
Qualify that while cachingDecorator() will now work with any number of arguments, the hash() function given will not. Or, perhaps better, could just change the hash function to something like:

function hash(args) {
  return [...args].join();
}
2019-09-01 19:14:59 -06:00
paroche
3b96e2519d
Update article.md
Maybe this is what you want. "Complexity" is singular, so if that's the antecedent, one would use "was".
2019-08-27 21:46:58 -06:00
Ilya Kantor
9bfc8cfa9c minor 2019-08-11 14:24:31 +03:00
Ilya Kantor
4d44df6a3a Embed font to SVG 2019-08-11 14:17:38 +03:00
Ilya Kantor
e6e562040d minor 2019-08-01 13:51:03 +03:00
Ilya Kantor
446154fc69 up 2019-07-31 23:31:16 +03:00
Ilya Kantor
3ba28aa104 images to svg 2019-07-28 15:42:37 +03:00
Ilya Kantor
f8570ae3a0 fixes 2019-05-11 11:28:46 +03:00
Ilya Kantor
6b9515ffd0 minor 2019-04-30 08:25:34 +02:00
Ilya Kantor
8f13d61a8b Sketch editor update (no important image changes) 2019-04-05 09:17:57 +03:00
Mau Di Bert
1161b75825
Update task.md
typo
2019-03-05 07:53:17 -03:00
Ilya Kantor
be9c5a7b5f re-export pictures 2019-03-02 23:36:52 +03:00
Mau Di Bert
7c97edc67c
typo 2019-03-02 08:54:52 -03:00
Ilya Kantor
408ba7d4e4 make sure a solution always shows up, use "demo" if exists 2019-02-21 19:35:04 +03:00
user
5dddf7de89 Grammar 2018-12-06 18:06:29 -05:00
Ilya Kantor
d0fcf522da sketch downgrade to 50 for good arrows, closes #494 2018-10-09 12:00:34 +03:00
Ilya Kantor
aa43deef3b closes #516 2018-10-07 20:19:48 +03:00
Ben James
e4a4426ff1 Use gender neutral pronouns 2018-08-02 15:15:35 +01:00