aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2014-09-02 10:44:42 +0100
committerStephen Blott2014-09-02 10:44:42 +0100
commitf2596ae0eaaa09a1ec5d641f048d7472f19c812b (patch)
treef549dce7f2d03867ac11efcc5852317574bb53a7
parent75846e61e2a81da35006787e7488b847bbe2a6ad (diff)
downloadvimium-f2596ae0eaaa09a1ec5d641f048d7472f19c812b.tar.bz2
Retain excludedUrls setting, so testers can revert to previous versions.
-rw-r--r--background_scripts/exclusions.coffee4
1 files changed, 3 insertions, 1 deletions
diff --git a/background_scripts/exclusions.coffee b/background_scripts/exclusions.coffee
index 326989bf..8242c81b 100644
--- a/background_scripts/exclusions.coffee
+++ b/background_scripts/exclusions.coffee
@@ -74,4 +74,6 @@ if not Settings.has("exclusionRules") and Settings.has("excludedUrls")
Exclusions.setRules(parseLegacyRules(Settings.get("excludedUrls")))
# We'll keep a backup of the excludedUrls setting, just in case (and for testing).
Settings.set("excludedUrlsBackup",Settings.get("excludedUrls")) if not Settings.has("excludedUrlsBackup")
- Settings.clear("excludedUrls")
+ # TODO (smblott): Uncomment the following line. It's commented for now so that anyone trying out this code
+ # can revert to previous versions.
+ # Settings.clear("excludedUrls")