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

Delta Between Two Patch Sets: html/static/js/ieFirstRun.js

Issue 5024350814076928: Issue 1103 - Migrate Simple Adblock users
Left Patch Set: Created March 24, 2015, 7:44 a.m.
Right Patch Set: Use registry instead of prefs for storing the Simple Adblock mark Created Aug. 7, 2015, 10:34 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
LEFTRIGHT
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 22 matching lines...) Expand all
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() 39 result.isUpdate = function()
40 { 40 {
41 return Settings.IsUpdate(); 41 return Settings.IsUpdate();
42 } 42 }
43 result.isFromSimpleAdblock = function() 43 result.getConversion = function()
Eric 2015/03/27 12:51:45 If we called this isConversion, we could return a
44 { 44 {
45 return Settings.IsFromSimpleAdblock(); 45 return Settings.GetConversion();
46 } 46 }
47 scopes.prefs.Prefs.documentation_link = Settings.GetDocumentationLink(); 47 scopes.prefs.Prefs.documentation_link = Settings.GetDocumentationLink();
48 scopes.utils.Utils.appLocale = Settings.GetAppLocale(); 48 scopes.utils.Utils.appLocale = Settings.GetAppLocale();
49 49
50 init(); 50 init();
51 }, false); 51 }, false);
52 52
53 return result; 53 return result;
54 })(); 54 })();
LEFTRIGHT

Powered by Google App Engine
This is Rietveld