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

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

Issue 2691693003: MD WebUI: avoid double-loading i18nTemplate when unvulcanized (Closed)
Patch Set: webui_resources.grd Created 3 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
« no previous file with comments | « ui/webui/resources/html/i18n_template.html ('k') | ui/webui/resources/js/i18n_template_process.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/i18n_template.js
diff --git a/ui/webui/resources/js/i18n_template.js b/ui/webui/resources/js/i18n_template.js
index a4dbcdc33a193cdde4cbebd72e2419f2e2aafb37..02d7245356fcc7293671f0a66c8a92e5d0d39ec9 100644
--- a/ui/webui/resources/js/i18n_template.js
+++ b/ui/webui/resources/js/i18n_template.js
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// <include src="i18n_template_no_process.js">
+// Note: vulcanize sometimes disables GRIT processing. If you're importing i18n
+// stuff with <link rel="import">, you should probably be using
+// html/i18n_template.html instead of this file.
-i18nTemplate.process(document, loadTimeData);
+// <include src="i18n_template_no_process.js">
+// <include src="i18n_template_process.js">
« no previous file with comments | « ui/webui/resources/html/i18n_template.html ('k') | ui/webui/resources/js/i18n_template_process.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698