1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-19 18:27:59 +01:00

Hackier but more reliable literal() stuff.

This commit is contained in:
Kris Maglione
2014-06-18 12:24:55 -07:00
parent fdf188166d
commit cde8cd6763
15 changed files with 66 additions and 63 deletions

View File

@@ -36,9 +36,9 @@ var Tabs = Module("tabs", {
tabs.switchTo(event.originalTarget.getAttribute("identifier"));
};
this.tabBinding = styles.system.add("tab-binding", "chrome://browser/content/browser.xul", literal(/*
this.tabBinding = styles.system.add("tab-binding", "chrome://browser/content/browser.xul", literal(function () /*
xul|tab { -moz-binding: url(chrome://dactyl/content/bindings.xml#tab) !important; }
*/).replace(/tab-./g, m => config.OS.isMacOSX ? "tab-mac" : m),
*/$).replace(/tab-./g, m => config.OS.isMacOSX ? "tab-mac" : m),
false, true);
this.timeout(function () {