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

Issue 29370594: [adblockplusui] Issue 4915 - Define ext for background pages in antiadblockInit.js (Closed)

Created:
Jan. 2, 2017, 9:23 a.m. by wspee
Modified:
March 7, 2017, 1:16 p.m.
CC:
Sebastian Noack
Visibility:
Public.

Description

Issue 3672 - Revert antiadblockInit.js from ext.i18n.getMessage to Utils.getString

Patch Set 1 #

Patch Set 2 : Define ext for background page in antiadblockInit #

Total comments: 3

Patch Set 3 : Simplified ext assigning expression #

Total comments: 4

Patch Set 4 : Use simple if instead of ternary operator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M lib/antiadblockInit.js View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 13
wspee
During the review of https://codereview.adblockplus.org/29366966/ it was also suggested to replace the usage of Utils.getString ...
Jan. 2, 2017, 9:34 a.m. (2017-01-02 09:34:32 UTC) #1
Sebastian Noack
I have no idea how hard it would be to make ext.i18n for this file ...
Jan. 4, 2017, 12:04 a.m. (2017-01-04 00:04:40 UTC) #2
Wladimir Palant
On 2017/01/04 00:04:40, Sebastian Noack wrote: > I have no idea how hard it would ...
Feb. 16, 2017, 10:18 a.m. (2017-02-16 10:18:46 UTC) #3
Thomas Greiner
On 2017/02/16 10:18:46, Wladimir Palant wrote: > On 2017/01/04 00:04:40, Sebastian Noack wrote: > > ...
Feb. 16, 2017, 11:27 a.m. (2017-02-16 11:27:51 UTC) #4
wspee
On 2017/02/16 11:27:51, Thomas Greiner wrote: > On 2017/02/16 10:18:46, Wladimir Palant wrote: > > ...
Feb. 20, 2017, 1:52 p.m. (2017-02-20 13:52:43 UTC) #5
Sebastian Noack
https://codereview.adblockplus.org/29370594/diff/29376560/lib/antiadblockInit.js File lib/antiadblockInit.js (right): https://codereview.adblockplus.org/29370594/diff/29376560/lib/antiadblockInit.js#newcode32 lib/antiadblockInit.js:32: ); For reference, if it wouldn't be for ESLint's ...
Feb. 20, 2017, 4:27 p.m. (2017-02-20 16:27:25 UTC) #6
wspee
(Moved Sebastian to cc since he's not available) https://codereview.adblockplus.org/29370594/diff/29376560/lib/antiadblockInit.js File lib/antiadblockInit.js (right): https://codereview.adblockplus.org/29370594/diff/29376560/lib/antiadblockInit.js#newcode32 lib/antiadblockInit.js:32: ); ...
March 1, 2017, 2:53 p.m. (2017-03-01 14:53:38 UTC) #7
kzar
https://codereview.adblockplus.org/29370594/diff/29377745/lib/antiadblockInit.js File lib/antiadblockInit.js (right): https://codereview.adblockplus.org/29370594/diff/29377745/lib/antiadblockInit.js#newcode28 lib/antiadblockInit.js:28: let ext = typeof window != "undefined" && I'm ...
March 2, 2017, 9:36 a.m. (2017-03-02 09:36:30 UTC) #8
Wladimir Palant
Patch Set 3 works and is in line with Sebastian's comments but no "looks good" ...
March 2, 2017, 11:14 a.m. (2017-03-02 11:14:40 UTC) #9
Thomas Greiner
https://codereview.adblockplus.org/29370594/diff/29377745/lib/antiadblockInit.js File lib/antiadblockInit.js (right): https://codereview.adblockplus.org/29370594/diff/29377745/lib/antiadblockInit.js#newcode28 lib/antiadblockInit.js:28: let ext = typeof window != "undefined" && On ...
March 2, 2017, 11:41 a.m. (2017-03-02 11:41:16 UTC) #10
wspee
https://codereview.adblockplus.org/29370594/diff/29377745/lib/antiadblockInit.js File lib/antiadblockInit.js (right): https://codereview.adblockplus.org/29370594/diff/29377745/lib/antiadblockInit.js#newcode28 lib/antiadblockInit.js:28: let ext = typeof window != "undefined" && On ...
March 3, 2017, 9:25 a.m. (2017-03-03 09:25:21 UTC) #11
Wladimir Palant
LGTM
March 6, 2017, 8:33 a.m. (2017-03-06 08:33:35 UTC) #12
Thomas Greiner
March 6, 2017, 7:24 p.m. (2017-03-06 19:24:26 UTC) #13
LGTM

Powered by Google App Engine
This is Rietveld