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

Unified Diff: help/help.js

Issue 8560083: adblockplusopera: Port UI code from Chrome (Closed)
Patch Set: Created Oct. 12, 2012, 1:11 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
Index: help/help.js
===================================================================
deleted file mode 100644
--- a/help/help.js
+++ /dev/null
@@ -1,15 +0,0 @@
-var helpParent = document.getElementById('help');
-
-var title = document.createElement('h2');
-title.appendChild(document.createTextNode(' ' + translate.get('help')));
-helpParent.appendChild(title);
-
-var help = ['help_not_working', 'help_unblocked', 'help_overblocked', 'help_my_overblocked', 'help_unsolved'];
-for(i in help) {
- var subtitle = document.createElement('h3');
- subtitle.appendChild(document.createTextNode(translate.get(help[i])));
- helpParent.appendChild(subtitle);
- var text = document.createElement('p');
- text.innerHTML = translate.get(help[i] + '_text');
- helpParent.appendChild(text);
-}

Powered by Google App Engine
This is Rietveld