[Pkg-mozext-commits] [tabmixplus] 09/107: Follow up bug 1207490 - Part 1: Remove use of expression closure from browser/base/

David Prévot taffit at moszumanska.debian.org
Tue Dec 29 19:02:44 UTC 2015


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit b621cbc4a8c4a7caaed9775d9a3ab0ce7266558a
Author: onemen <tabmix.onemen at gmail.com>
Date:   Tue Oct 6 18:21:58 2015 +0300

    Follow up bug 1207490 - Part 1: Remove use of expression closure from browser/base/
---
 chrome/content/tabmix.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/chrome/content/tabmix.js b/chrome/content/tabmix.js
index 32a6ab8..3ee40bf 100644
--- a/chrome/content/tabmix.js
+++ b/chrome/content/tabmix.js
@@ -392,17 +392,18 @@ var TMP_eventListener = {
       // set option to Prevent double click on Tab-bar from changing window size.
       Tabmix.changeCode(TabsInTitlebar, "TabsInTitlebar._update")._replace(
         'function $(id)',
-        'let $ = $&', {check: Tabmix._debugMode}
+        'let $ = $&', {check: Tabmix._debugMode && !Tabmix.isVersion(440)}
       )._replace(
         'this._dragBindingAlive',
         '$& && Tabmix.prefs.getBoolPref("tabbar.click_dragwindow")'
       )._replace(
         'function rect(ele)',
-        'let rect = function _rect(ele)' // for strict mode
+        'let rect = function _rect(ele)', // for strict mode
+        {check: !Tabmix.isVersion(440)}
       )._replace(
         'function verticalMargins(',
         'let verticalMargins = $&',
-        {check: Tabmix._debugMode && Tabmix.isVersion(280)}
+        {check: Tabmix._debugMode && Tabmix.isVersion(280) && !Tabmix.isVersion(440)}
       )._replace(
         'let tabAndMenuHeight = fullTabsHeight + fullMenuHeight;',
         'fullTabsHeight = fullTabsHeight / TabmixTabbar.visibleRows;\n      $&',

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



More information about the Pkg-mozext-commits mailing list