OLD | NEW |
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 Loading... |
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.getConversion = function() |
| 44 { |
| 45 return Settings.GetConversion(); |
| 46 } |
43 scopes.prefs.Prefs.documentation_link = Settings.GetDocumentationLink(); | 47 scopes.prefs.Prefs.documentation_link = Settings.GetDocumentationLink(); |
44 scopes.utils.Utils.appLocale = Settings.GetAppLocale(); | 48 scopes.utils.Utils.appLocale = Settings.GetAppLocale(); |
45 | 49 |
46 init(); | 50 init(); |
47 }, false); | 51 }, false); |
48 | 52 |
49 return result; | 53 return result; |
50 })(); | 54 })(); |
OLD | NEW |