[Pkg-mozext-commits] [personasplus] 58/76: Remove Deprecated Expression Closure

David Prévot taffit at moszumanska.debian.org
Fri Aug 4 21:45:08 UTC 2017


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

taffit pushed a commit to branch master
in repository personasplus.

commit 23b698b50e92c31ad84917f73a59b3c1d100af23
Author: Baris Derin <baris at barisderin.com>
Date:   Mon Nov 28 02:51:09 2016 +0200

    Remove Deprecated Expression Closure
    
    This removed remnant deprecated Expression Closure.
---
 extension/modules/Preferences.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extension/modules/Preferences.js b/extension/modules/Preferences.js
index ba36672..6bc3458 100644
--- a/extension/modules/Preferences.js
+++ b/extension/modules/Preferences.js
@@ -376,7 +376,7 @@ Preferences.prototype = {
                   getService(Ci.nsIPrefService).
                   getBranch(this._prefBranch).
                   QueryInterface(Ci.nsIPrefBranch2);
-    this.__defineGetter__("_prefSvc", function() prefSvc);
+    this.__defineGetter__("_prefSvc", () => prefSvc);
     return this._prefSvc;
   }
 

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



More information about the Pkg-mozext-commits mailing list