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

Unified Diff: templates/manifest.json.tmpl

Issue 29389567: Issue #5012 - Add minimum_opera_version support to metadata.json (Closed) Base URL: https://hg.adblockplus.org/buildtools
Patch Set: Created March 20, 2017, 9:10 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: templates/manifest.json.tmpl
===================================================================
--- a/templates/manifest.json.tmpl
+++ b/templates/manifest.json.tmpl
@@ -15,16 +15,20 @@
"default_locale": "en_US",
"version": {{version|json}},
"author": {{metadata.get('general', 'author')|json}},
{%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrome') %}
"minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}},
{%- endif %}
+ {%- if metadata.has_section('compat') and metadata.has_option('compat', 'opera') %}
+ "minimum_opera_version": {{metadata.get('compat', 'opera')|json}},
+ {%- endif %}
+
{%- if metadata.has_section('compat') and metadata.has_option('compat', 'edge') %}
"minimum_edge_version": {{metadata.get('compat', 'edge')|json}},
{%- endif %}
{%- if type == 'gecko-webext' %}
"applications":
{
"gecko":
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld