Skip to content
This repository has been archived by the owner on Jan 23, 2019. It is now read-only.

Commit

Permalink
Add more category/language coverage and extra information.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm committed Dec 28, 2011
1 parent 2a20981 commit e9230fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 2 additions & 3 deletions index.html
Expand Up @@ -49,7 +49,7 @@
Do you know: <br><br>
<script>
addCategories([["py", "Python"], ["java", "Java"], ["sh", "Shell/Makefile/Autoconf"],
["js", "Javascript"], ["cpp", "C++"], ["html", "HTML/CSS"]]);
["js", "Javascript"], ["cpp", "C/C++"], ["html", "HTML/CSS"]]);
</script>
<br><br>
Display only: <br><br>
Expand Down Expand Up @@ -83,8 +83,6 @@
elem.appendChild(h);
var c = document.createElement('div');
c.setAttribute('class', 'ba-extra_body');
//tn = document.createTextNode(content);
//c.appendChild(tn);
c.innerHTML = content;
elem.appendChild(c);
extra.appendChild(elem);
Expand All @@ -94,6 +92,7 @@
addExtra('py', 'Extra information for Python', '<a href="https://wiki.mozilla.org/Auto-tools/New_Contributor/Skills_and_Areas">Get involved with the Auto-Tools team</a>');
addExtra('gfx', 'Extra information for Graphics', '<a href="https://wiki.mozilla.org/Platform/GFX/Contribute">Get involved with the Graphics team</a>');
addExtra('jseng', 'Extra information for the JS engine', '<a href="https://wiki.mozilla.org/JavaScript:New_to_SpiderMonkey">Get involved with the JS engine team</a>');
addExtra('a11y', 'Extra information for Accessibility', '<a href="https://wiki.mozilla.org/Accessibility/Contribute">Get involved with the Accessibility team</a>');
</script>

<div id="ba-footer">
Expand Down
5 changes: 4 additions & 1 deletion magic.js
Expand Up @@ -91,6 +91,7 @@ addComponentMapping('jseng', 'Core',
addComponentMapping('media', 'Core', 'Video/Audio');
addComponentMapping('ff', 'Firefox');
addComponentMapping('ff', 'Toolkit');
addComponentMapping('ff', 'Mozilla Services', 'Firefox Sync: UI');
addComponentMapping('devtools', 'Firefox',
['Developer Tools',
'Developer Tools: Console',
Expand All @@ -104,9 +105,11 @@ addComponentMapping('automation', 'Testing');
addLanguageMapping('py', 'py');
addLanguageMapping('sh', 'shell');
addSimpleMapping('langs', 'java', 'Core', 'Widget: Android');
addSimpleMapping('langs', 'java', 'Mozilla Services', 'Android Sync');
addLanguageMapping('java', 'java');
addLanguageMapping('js', 'js');
addLanguageMapping('cpp', 'c++');
addSimpleMapping('langs', 'js', 'Mozilla Services', 'Firefox Sync: Backend');
addLanguageMapping('cpp', 'c');
addLanguageMapping('html', 'html');
addLanguageMapping('html', 'css');

Expand Down

0 comments on commit e9230fb

Please sign in to comment.