[Pkg-mozext-commits] [tabmixplus] 09/44: Update compatibility with Tile Tabs 11.12

David Prévot taffit at moszumanska.debian.org
Wed Oct 15 02:09:58 UTC 2014


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 599b068d60baa4ffdfdd002b9ef3e10f7e38f4fc
Author: onemen <tabmix.onemen at gmail.com>
Date:   Thu Oct 2 14:53:25 2014 +0300

    Update compatibility with Tile Tabs 11.12
---
 chrome/content/extensions/extensions.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/chrome/content/extensions/extensions.js b/chrome/content/extensions/extensions.js
index 63f1c4e..48da097 100644
--- a/chrome/content/extensions/extensions.js
+++ b/chrome/content/extensions/extensions.js
@@ -372,7 +372,7 @@ var TMP_extensionsCompatibility = {
     if (typeof aioCloseWindow == 'function')
       aioCloseWindow = BrowserTryToCloseWindow;
 
-    // Tile Tabs 10.0
+    // Tile Tabs 11.12
     // https://addons.mozilla.org/en-US/firefox/addon/tile-tabs/
     if (typeof tileTabs == "object") {
       let newCode = 'title = TMP_Places.getTabTitle(tab, tab.linkedBrowser.currentURI.spec, title);' +
@@ -384,9 +384,9 @@ var TMP_extensionsCompatibility = {
         'label = document.getAnonymousElementByAttribute(labelBox,"anonid","tab-label");' +
       '}\n';
 
-      let func = {styleTiledTabs: 'if (tab.hasAttribute("tiletabs-assigned"))',
+      let func = {styleTiledTabs: /if\s+\(tab\.hasAttribute\("tiletabs-assigned"\)\)/,
         showProperties: 'if (tab.hasAttribute("image"))',
-        onTabAttrModified: 'if (tab.hasAttribute("tiletabs-assigned"))',
+        onTabAttrModified: /if\s+\(tab\.hasAttribute\("tiletabs-assigned"\)\)/,
         showTabList: /menuItem\.setAttribute\("label",\s*title\);/,
         showTabListCurrent: /menuItem\.setAttribute\("label",\s*title\);/
       }

-- 
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