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

Unified Diff: mobile-options.js

Issue 29573083: Issue 5028 - Use browser namespace (Closed) Base URL: https://hg.adblockplus.org/adblockplusui/
Patch Set: Move i18n code into polyfill.js Created Oct. 11, 2017, 11:27 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« background.html ('K') | « mobile-options.html ('k') | polyfill.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mobile-options.js
===================================================================
--- a/mobile-options.js
+++ b/mobile-options.js
@@ -15,17 +15,17 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
/* globals getDocLink */
"use strict";
{
- const {getMessage} = chrome.i18n;
+ const {getMessage} = browser.i18n;
const dialogSubscribe = "subscribe";
const idAcceptableAds = "acceptableAds";
const idRecommended = "subscriptions-recommended";
let whitelistFilter = null;
let promisedAcceptableAdsUrl = getAcceptableAdsUrl();
/* Utility functions */
« background.html ('K') | « mobile-options.html ('k') | polyfill.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld