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

Delta Between Two Patch Sets: common/header.js

Issue 8493027: Acquired Opera AdBlock code (Closed)
Left Patch Set: Created Oct. 2, 2012, 1:15 p.m.
Right Patch Set: Created Oct. 8, 2012, 5:58 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « common/donate.js ('k') | common/notification.js » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 document.getElementById('title').appendChild(document.createTextNode(translate.g et('ext_name') + ' - ' + translate.get('preferences'))); 1 document.getElementById('title').appendChild(document.createTextNode(translate.g et('ext_name') + ' - ' + translate.get('preferences')));
2 2
3 var headerParent = document.getElementById('header'); 3 var headerParent = document.getElementById('header');
4 4
5 var logo = document.createElement('img'); 5 var logo = document.createElement('img');
6 logo.setAttribute('src', '/images/icon_red34.png'); 6 logo.setAttribute('src', '/images/icon32.png');
7 logo.setAttribute('width', '34px'); 7 logo.setAttribute('width', '32px');
8 logo.setAttribute('length', '34px'); 8 logo.setAttribute('length', '32px');
9 9
10 var title = document.createElement('h1'); 10 var title = document.createElement('h1');
11 title.appendChild(logo); 11 title.appendChild(logo);
12 title.appendChild(document.createTextNode(' ' + translate.get('ext_name'))); 12 title.appendChild(document.createTextNode(' ' + translate.get('ext_name')));
13 13
14 var subtitle = document.createElement('h4'); 14 var subtitle = document.createElement('h4');
15 subtitle.appendChild(document.createTextNode(translate.get('ext_descript'))); 15 subtitle.appendChild(document.createTextNode(translate.get('ext_descript')));
16 16
17 headerParent.appendChild(title); 17 headerParent.appendChild(title);
18 headerParent.appendChild(subtitle); 18 headerParent.appendChild(subtitle);
LEFTRIGHT

Powered by Google App Engine
This is Rietveld