Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29859565: Issue 6741 - Use ES2015 classes in lib/downloader.js (Closed)

Created:
Aug. 20, 2018, 11:07 p.m. by Jon Sonesen
Modified:
Aug. 27, 2018, 9:29 p.m.
Reviewers:
Manish Jethani
CC:
kzar
Base URL:
https://hg.adblockplus.org/adblockpluscore/
Visibility:
Public.

Description

Issue 6741 - Use ES2015 classes in lib/downloader.js

Patch Set 1 #

Patch Set 2 : Remove excess whitespace #

Total comments: 10

Patch Set 3 : Address PS2 comments #

Patch Set 4 : Insert blank line before jsdocs for _timer #

Total comments: 6

Patch Set 5 : Address PS4 comments #

Total comments: 11

Patch Set 6 : Address PS5 comments #

Patch Set 7 : Address PS6 comment #

Total comments: 2

Patch Set 8 : Address PS7 comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -142 lines) Patch
M lib/downloader.js View 1 2 3 4 5 6 7 4 chunks +139 lines, -142 lines 0 comments Download

Messages

Total messages: 13
Jon Sonesen
Aug. 20, 2018, 11:07 p.m. (2018-08-20 23:07:36 UTC) #1
Jon Sonesen
Not sure if anything in the classes needed to be defined as static, or private ...
Aug. 20, 2018, 11:13 p.m. (2018-08-20 23:13:18 UTC) #2
Manish Jethani
On 2018/08/20 23:13:18, Jon Sonesen wrote: > Not sure if anything in the classes needed ...
Aug. 21, 2018, 3:47 a.m. (2018-08-21 03:47:38 UTC) #3
Manish Jethani
https://codereview.adblockplus.org/29859565/diff/29859568/lib/downloader.js File lib/downloader.js (right): https://codereview.adblockplus.org/29859565/diff/29859568/lib/downloader.js#newcode32 lib/downloader.js:32: * Creates a new downloader instance. This JSDoc comment ...
Aug. 21, 2018, 3:56 a.m. (2018-08-21 03:56:03 UTC) #4
Jon Sonesen
https://codereview.adblockplus.org/29859565/diff/29859568/lib/downloader.js File lib/downloader.js (right): https://codereview.adblockplus.org/29859565/diff/29859568/lib/downloader.js#newcode32 lib/downloader.js:32: * Creates a new downloader instance. On 2018/08/21 03:56:02, ...
Aug. 21, 2018, 7:10 p.m. (2018-08-21 19:10:01 UTC) #5
Manish Jethani
https://codereview.adblockplus.org/29859565/diff/29859568/lib/downloader.js File lib/downloader.js (right): https://codereview.adblockplus.org/29859565/diff/29859568/lib/downloader.js#newcode360 lib/downloader.js:360: } On 2018/08/21 19:10:01, Jon Sonesen wrote: > On ...
Aug. 22, 2018, 6:13 a.m. (2018-08-22 06:13:35 UTC) #6
Jon Sonesen
https://codereview.adblockplus.org/29859565/diff/29859568/lib/downloader.js File lib/downloader.js (right): https://codereview.adblockplus.org/29859565/diff/29859568/lib/downloader.js#newcode360 lib/downloader.js:360: } On 2018/08/22 06:13:34, Manish Jethani wrote: > On ...
Aug. 22, 2018, 6:18 p.m. (2018-08-22 18:18:51 UTC) #7
Manish Jethani
https://codereview.adblockplus.org/29859565/diff/29861580/lib/downloader.js File lib/downloader.js (right): https://codereview.adblockplus.org/29859565/diff/29861580/lib/downloader.js#newcode36 lib/downloader.js:36: * function that will yield downloadable objects on each ...
Aug. 23, 2018, 3:03 p.m. (2018-08-23 15:03:40 UTC) #8
Jon Sonesen
Thanks for the quick response Manish https://codereview.adblockplus.org/29859565/diff/29861580/lib/downloader.js File lib/downloader.js (right): https://codereview.adblockplus.org/29859565/diff/29861580/lib/downloader.js#newcode36 lib/downloader.js:36: * function that ...
Aug. 23, 2018, 4:41 p.m. (2018-08-23 16:41:47 UTC) #9
Manish Jethani
Let's also replace all `@return` with `@returns` in the file. Otherwise LGTM
Aug. 24, 2018, 8:47 a.m. (2018-08-24 08:47:55 UTC) #10
Manish Jethani
One more comment ... https://codereview.adblockplus.org/29859565/diff/29863599/lib/downloader.js File lib/downloader.js (right): https://codereview.adblockplus.org/29859565/diff/29863599/lib/downloader.js#newcode346 lib/downloader.js:346: * @returns {Array} soft and ...
Aug. 25, 2018, 7:46 a.m. (2018-08-25 07:46:11 UTC) #11
Jon Sonesen
No problem, thanks! https://codereview.adblockplus.org/29859565/diff/29863599/lib/downloader.js File lib/downloader.js (right): https://codereview.adblockplus.org/29859565/diff/29863599/lib/downloader.js#newcode346 lib/downloader.js:346: * @returns {Array} soft and hard ...
Aug. 27, 2018, 4:17 p.m. (2018-08-27 16:17:21 UTC) #12
Manish Jethani
Aug. 27, 2018, 8:13 p.m. (2018-08-27 20:13:53 UTC) #13
LGTM

Powered by Google App Engine
This is Rietveld