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

Unified Diff: messageResponder.js

Issue 29345232: Issue 4084 - Do not use @@bidi_dir directly in adblockplusui (Closed)
Patch Set: Created May 29, 2016, 2:15 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: messageResponder.js
diff --git a/messageResponder.js b/messageResponder.js
index dab496354b91789337171c43f9d1e73f66ca7a85..de494eef809628f4c99cd5243f2b01a3ef77ec32 100644
--- a/messageResponder.js
+++ b/messageResponder.js
@@ -181,7 +181,7 @@
if ("chromeRegistry" in Utils)
bidiDir = Utils.chromeRegistry.isLocaleRTL("adblockplus") ? "rtl" : "ltr";
else
- bidiDir = ext.i18n.getMessage("@@bidi_dir");
+ bidiDir = Utils.readingDirection;
Sebastian Noack 2016/05/29 14:05:08 You have to change the mock implementation in adbl
callback({locale: Utils.appLocale, bidiDir: bidiDir});
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld