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

Side by Side Diff: html/static/js/ieFirstRun.js

Issue 6025347820683264: Issue 1106 - Enable Acceptable Ads by default for new installs and updates from versions < 1.2 (Closed)
Patch Set: Discriminate first run page title for install/update Created Aug. 1, 2014, 3:08 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « html/static/js/firstRun.js ('k') | locales/en.ini » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var AdblockPlus = (function() 1 var AdblockPlus = (function()
2 { 2 {
3 var scopes = 3 var scopes =
4 { 4 {
5 prefs: 5 prefs:
6 { 6 {
7 Prefs: {documentation_link: ""} 7 Prefs: {documentation_link: ""}
8 }, 8 },
9 utils: 9 utils:
10 { 10 {
(...skipping 18 matching lines...) Expand all
29 return scopes[module]; 29 return scopes[module];
30 } 30 }
31 }; 31 };
32 32
33 window.addEventListener("load", function() 33 window.addEventListener("load", function()
34 { 34 {
35 result.getMessage = function(section, param) 35 result.getMessage = function(section, param)
36 { 36 {
37 return Settings.GetMessage(section, param); 37 return Settings.GetMessage(section, param);
38 } 38 }
39 result.isUpdate = function()
40 {
41 return Settings.IsUpdate();
42 }
39 scopes.prefs.Prefs.documentation_link = Settings.GetDocumentationLink(); 43 scopes.prefs.Prefs.documentation_link = Settings.GetDocumentationLink();
40 scopes.utils.Utils.appLocale = Settings.GetAppLocale(); 44 scopes.utils.Utils.appLocale = Settings.GetAppLocale();
41 }, false); 45 }, false);
42 46
43 return result; 47 return result;
44 })(); 48 })();
OLDNEW
« no previous file with comments | « html/static/js/firstRun.js ('k') | locales/en.ini » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld