Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Unified Diff: ui/webui/resources/js/i18n_template_no_process.js

Issue 1700273003: MD Settings: make <paper-drawer-panel> flip in RTL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/webui/resources/js/i18n_template_no_process.js
diff --git a/ui/webui/resources/js/i18n_template_no_process.js b/ui/webui/resources/js/i18n_template_no_process.js
index 2ae2ebdddf284a8ab886ebfd2f3d97184b72f485..f38f2d17ba62db71b01dde4759a1c445642eb7c7 100644
--- a/ui/webui/resources/js/i18n_template_no_process.js
+++ b/ui/webui/resources/js/i18n_template_no_process.js
@@ -138,6 +138,11 @@ var i18nTemplate = (function() {
*/
function process(root, data) {
processWithoutCycles(root, data, new Set(), true);
+
+ root.dispatchEvent(new Event('i18n-processed', {
Dan Beam 2016/02/17 04:47:34 i can't use cr.dispatchSimpleEvent() because this
+ bubbles: true,
+ cancelable: false,
+ }));
}
/**

Powered by Google App Engine
This is Rietveld 408576698