[Pkg-mozext-commits] [adblock-plus] 15/74: Noissue - Remove unused isFennec property

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 12:07:05 UTC 2015


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

taffit pushed a commit to branch master
in repository adblock-plus.

commit 8beccc28b025bdb77d33387e1254d9b1b17219aa
Author: Felix Dahlke <felix at adblockplus.org>
Date:   Tue May 12 23:01:08 2015 +0200

    Noissue - Remove unused isFennec property
    
    Review: http://codereview.adblockplus.org/5852091641757696/
---
 lib/utils.js | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/lib/utils.js b/lib/utils.js
index 848125f..ea8ac7b 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -48,18 +48,6 @@ let Utils = exports.Utils =
   },
 
   /**
-   * Returns whether we are running in Fennec, for Fennec-specific hacks
-   * @type Boolean
-   */
-  get isFennec()
-  {
-    let {application} = require("info");
-    let result = (application == "fennec" || application == "fennec2");
-    Object.defineProperty(this, "isFennec", {value: result});
-    return result;
-  },
-
-  /**
    * Returns the user interface locale selected for adblockplus chrome package.
    */
   get appLocale()

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



More information about the Pkg-mozext-commits mailing list