[Pkg-mozext-commits] [perspectives-extension] 03/44: Pers_init - add comment explaining reason for move

David Prévot taffit at moszumanska.debian.org
Sun Jun 26 04:59:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository perspectives-extension.

commit 80cca518d4cfa9c18f70d38c3e99462c13e9573d
Author: Dave Schaefer <dave.schaefer at gmail.com>
Date:   Mon Oct 19 22:20:31 2015 -0700

    Pers_init - add comment explaining reason for move
---
 plugin/chrome/content/init.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/plugin/chrome/content/init.js b/plugin/chrome/content/init.js
index 4384fb9..b6ebb32 100644
--- a/plugin/chrome/content/init.js
+++ b/plugin/chrome/content/init.js
@@ -49,6 +49,9 @@ var Pers_init = {
     },
 
     // Preference migration from old names to new ones. Written by Alexey Vesnin
+    // ensures prefereces match the 'extension.perspectives' naming convention
+    // required by addons.mozilla.org
+    // https://developer.mozilla.org/en-US/Add-ons/AMO/Policy/Reviews#Full_Review
     migrateOldSettings: function() {
       var preflist_numeric = ["perspectives.quorum_thresh","perspectives.required_duration","perspectives.security_settings","perspectives.max_timespan_for_inconsistency_test","perspectives.weak_consistency_time_limit","perspectives.max_cache_age_sec"];
       var preflist_string = ["perspectives.svg","perspectives.whitelist","perspectives.additional_notary_list","perspectives.default_notary_list"];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/perspectives-extension.git



More information about the Pkg-mozext-commits mailing list