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

Unified Diff: lib/prefs.js

Issue 9846017: Make JavaScript sources compile into the library; convert JavaScript files on the fly (Closed)
Patch Set: Split various fake modules out of the large compat script Created March 14, 2013, 10:24 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
« lib/info.js ('K') | « lib/io.js ('k') | lib/utils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/prefs.js
===================================================================
new file mode 100644
--- /dev/null
+++ b/lib/prefs.js
@@ -0,0 +1,19 @@
+//
+// The values are hardcoded for now.
+//
+
+var Prefs = exports.Prefs = {
+ enabled: true,
+ patternsfile: "patterns.ini",
+ patternsbackups: 5,
+ patternsbackupinterval: 24,
+ data_directory: "",
+ savestats: false,
+ privateBrowsing: false,
+ subscriptions_fallbackerrors: 5,
+ subscriptions_fallbackurl: "https://adblockplus.org/getSubscription?version=%VERSION%&url=%SUBSCRIPTION%&downloadURL=%URL%&error=%ERROR%&channelStatus=%CHANNELSTATUS%&responseStatus=%RESPONSESTATUS%",
+ subscriptions_autoupdate: true,
+ subscriptions_exceptionsurl: "https://easylist-downloads.adblockplus.org/exceptionrules.txt",
+ documentation_link: "https://adblockplus.org/redirect?link=%LINK%&lang=%LANG%",
+ addListener: function() {}
+};
« lib/info.js ('K') | « lib/io.js ('k') | lib/utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld