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

Issue 29897555: Issue 6940 - Use underscore prefixes lib/matcher.js (Closed)

Created:
Oct. 1, 2018, 5:46 a.m. by Jon Sonesen
Modified:
Oct. 24, 2018, 8:40 p.m.
Reviewers:
Manish Jethani
Visibility:
Public.

Description

Issue 6940 - Use underscore prefixes lib/matcher.js

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebase #

Total comments: 22

Patch Set 3 : Address some PS2 comments #

Patch Set 4 : Rebase #

Patch Set 5 : Do jsdoc #

Total comments: 6

Patch Set 6 : Address PS5 Comment #

Total comments: 2

Patch Set 7 : Address PS6 comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -41 lines) Patch
M lib/matcher.js View 1 2 3 4 5 6 5 chunks +47 lines, -39 lines 0 comments Download
M test/filterListener.js View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 29
Jon Sonesen
Oct. 1, 2018, 5:46 a.m. (2018-10-01 05:46:11 UTC) #1
Jon Sonesen
Pretty sure the commit message could be changed, since it seems this issue may include ...
Oct. 1, 2018, 5:46 a.m. (2018-10-01 05:46:54 UTC) #2
Manish Jethani
I think it would be more practical to base this on https://codereview.adblockplus.org/29892596/ What do you ...
Oct. 1, 2018, 10:25 a.m. (2018-10-01 10:25:56 UTC) #3
Jon Sonesen
On 2018/10/01 10:25:56, Manish Jethani wrote: > I think it would be more practical to ...
Oct. 1, 2018, 3:02 p.m. (2018-10-01 15:02:58 UTC) #4
Manish Jethani
https://codereview.adblockplus.org/29897555/diff/29897556/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29897556/lib/matcher.js#newcode44 lib/matcher.js:44: this._keywordByFilter = new Map(); I think we should add ...
Oct. 1, 2018, 3:08 p.m. (2018-10-01 15:08:59 UTC) #5
Manish Jethani
https://codereview.adblockplus.org/29897555/diff/29897556/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29897556/lib/matcher.js#newcode44 lib/matcher.js:44: this._keywordByFilter = new Map(); On 2018/10/01 15:08:59, Manish Jethani ...
Oct. 1, 2018, 3:10 p.m. (2018-10-01 15:10:00 UTC) #6
Manish Jethani
You could rebase this one now.
Oct. 2, 2018, 5:26 p.m. (2018-10-02 17:26:30 UTC) #7
Jon Sonesen
https://codereview.adblockplus.org/29897555/diff/29897556/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29897556/lib/matcher.js#newcode44 lib/matcher.js:44: this._keywordByFilter = new Map(); On 2018/10/01 15:10:00, Manish Jethani ...
Oct. 21, 2018, 3:07 a.m. (2018-10-21 03:07:08 UTC) #8
Manish Jethani
https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js#newcode60 lib/matcher.js:60: * @private I've already started using @private/@protected elsewhere [1], ...
Oct. 21, 2018, 12:12 p.m. (2018-10-21 12:12:20 UTC) #9
Manish Jethani
https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js#newcode170 lib/matcher.js:170: _checkEntryMatch(keyword, location, typeMask, docDomain, thirdParty, sitekey, About this function, ...
Oct. 21, 2018, 12:52 p.m. (2018-10-21 12:52:04 UTC) #10
Manish Jethani
https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js#newcode257 lib/matcher.js:257: this.resultCache = new Map(); On 2018/10/21 12:52:04, Manish Jethani ...
Oct. 22, 2018, 10:57 p.m. (2018-10-22 22:57:50 UTC) #11
Jon Sonesen
Yeah, I agree as well and it can easily be added to this patch set.
Oct. 22, 2018, 11:01 p.m. (2018-10-22 23:01:36 UTC) #12
Jon Sonesen
https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js#newcode60 lib/matcher.js:60: * @private On 2018/10/21 12:12:19, Manish Jethani wrote: > ...
Oct. 23, 2018, 1:28 a.m. (2018-10-23 01:28:04 UTC) #13
Manish Jethani
See comments inline. Also, the patch no longer applies cleanly. Can you rebase on the ...
Oct. 23, 2018, 3:10 a.m. (2018-10-23 03:10:15 UTC) #14
Jon Sonesen
https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js#newcode257 lib/matcher.js:257: this.resultCache = new Map(); On 2018/10/23 03:10:14, Manish Jethani ...
Oct. 23, 2018, 3:16 a.m. (2018-10-23 03:16:43 UTC) #15
Manish Jethani
https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js#newcode257 lib/matcher.js:257: this.resultCache = new Map(); On 2018/10/23 03:16:42, Jon Sonesen ...
Oct. 23, 2018, 3:23 a.m. (2018-10-23 03:23:17 UTC) #16
Jon Sonesen
On 2018/10/23 03:23:17, Manish Jethani wrote: > https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js > File lib/matcher.js (right): > > https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js#newcode257 ...
Oct. 23, 2018, 3:26 a.m. (2018-10-23 03:26:04 UTC) #17
Manish Jethani
https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js#newcode257 lib/matcher.js:257: this.resultCache = new Map(); On 2018/10/23 03:23:17, Manish Jethani ...
Oct. 23, 2018, 3:28 a.m. (2018-10-23 03:28:42 UTC) #18
Jon Sonesen
On 2018/10/23 03:28:42, Manish Jethani wrote: > https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js > File lib/matcher.js (right): > > https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js#newcode257 ...
Oct. 23, 2018, 3:30 a.m. (2018-10-23 03:30:01 UTC) #19
Jon Sonesen
On 2018/10/23 03:28:42, Manish Jethani wrote: > https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js > File lib/matcher.js (right): > > https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js#newcode257 ...
Oct. 23, 2018, 3:30 a.m. (2018-10-23 03:30:02 UTC) #20
Jon Sonesen
https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js#newcode257 lib/matcher.js:257: this.resultCache = new Map(); On 2018/10/23 03:28:42, Manish Jethani ...
Oct. 23, 2018, 4:08 a.m. (2018-10-23 04:08:03 UTC) #21
Manish Jethani
https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29917621/lib/matcher.js#newcode257 lib/matcher.js:257: this.resultCache = new Map(); On 2018/10/23 04:08:03, Jon Sonesen ...
Oct. 23, 2018, 10:38 a.m. (2018-10-23 10:38:27 UTC) #22
Jon Sonesen
https://codereview.adblockplus.org/29897555/diff/29919600/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29919600/lib/matcher.js#newcode226 lib/matcher.js:226: docDomain, thirdParty, sitekey, On 2018/10/23 10:38:27, Manish Jethani wrote: ...
Oct. 23, 2018, 5:39 p.m. (2018-10-23 17:39:48 UTC) #23
Manish Jethani
LGTM
Oct. 24, 2018, 3:11 p.m. (2018-10-24 15:11:55 UTC) #24
Jon Sonesen
Patch sent.
Oct. 24, 2018, 5:24 p.m. (2018-10-24 17:24:41 UTC) #25
Manish Jethani
https://codereview.adblockplus.org/29897555/diff/29921564/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29921564/lib/matcher.js#newcode182 lib/matcher.js:182: specificOnly) Sorry, I missed this one. We need to ...
Oct. 24, 2018, 6:43 p.m. (2018-10-24 18:43:56 UTC) #26
Jon Sonesen
New patch set in a few minutes https://codereview.adblockplus.org/29897555/diff/29921564/lib/matcher.js File lib/matcher.js (right): https://codereview.adblockplus.org/29897555/diff/29921564/lib/matcher.js#newcode182 lib/matcher.js:182: specificOnly) On ...
Oct. 24, 2018, 6:46 p.m. (2018-10-24 18:46:26 UTC) #27
Manish Jethani
LGTM
Oct. 24, 2018, 7:05 p.m. (2018-10-24 19:05:17 UTC) #28
Manish Jethani
Oct. 24, 2018, 7:10 p.m. (2018-10-24 19:10:07 UTC) #29
On 2018/10/24 19:05:17, Manish Jethani wrote:
> LGTM

https://hg.adblockplus.org/adblockpluscore/rev/7126b8cc2fad

You can close this now.

Powered by Google App Engine
This is Rietveld