From 7ca00e7e232eb8bc29340f7dac6a0aef638fcb01 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Thu, 25 Oct 2012 10:13:04 -0400 Subject: Bug 802586 - config.js.tmpl doesn't display keywords correctly anymore r/a=LpSolit --- template/en/default/config.js.tmpl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'template/en') diff --git a/template/en/default/config.js.tmpl b/template/en/default/config.js.tmpl index 3f0bade18..0399f8b28 100644 --- a/template/en/default/config.js.tmpl +++ b/template/en/default/config.js.tmpl @@ -30,8 +30,15 @@ var resolution = [ [% FOREACH x = resolution %]'[% x FILTER js %]', [% END %] // Keywords // ======== -var keyword = [ [% FOREACH x = keyword %]'[% x FILTER js %]', [% END %] ]; - +var keyword = [ [% FOREACH k = keywords %]'[% k.name FILTER js %]', [% END %] ]; +var keyword_descs = [ +[% FOREACH k = keywords %] + { + name: '[% k.name FILTER js %]', + description: '[% k.description FILTER js %]', + }, +[% END %] +]; // Platforms // ========= -- cgit v1.2.3-24-g4f1b