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

Unified Diff: templates/modules.js.tmpl

Issue 29454678: Issue 5085 - Add edgeInfo.js template for edge specific builds (Closed)
Patch Set: remove unecessary variable Created June 8, 2017, 3:46 p.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 | « templates/edgeInfo.js.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/modules.js.tmpl
===================================================================
--- a/templates/modules.js.tmpl
+++ b/templates/modules.js.tmpl
@@ -14,18 +14,20 @@
require.scopes = Object.create(null);
}
{% if args["injectinfomodule"] %}
require.modules["info"] = function(module, exports)
{
{% if type == "gecko-webext" %}
{% include "geckoInfo.js.tmpl" %}
-{% elif type == "chrome" or type == "edge" %}
+{% elif type == "chrome" %}
{% include "chromeInfo.js.tmpl" %}
+{% elif type == "edge" %}
+{% include "edgeInfo.js.tmpl" %}
{% endif %}
return module.exports;
};
{% endif %}
{%- for module_name, script in modules -%}
require.modules[{{ module_name|json }}] = function(module, exports)
{
« no previous file with comments | « templates/edgeInfo.js.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld