mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-09 17:40:07 +01:00
Merge default.
--HG-- branch : mode-refactoring
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
sandbox.__proto__ = proto || modules;
|
||||
return sandbox;
|
||||
}
|
||||
const jsmodules = {};
|
||||
const jsmodules = { dump: function dump_(arg) window.dump("dactyl: " + arg + "\n") };
|
||||
const modules = {
|
||||
__proto__: jsmodules,
|
||||
get content() window.content,
|
||||
|
||||
@@ -21,12 +21,12 @@ const Tabs = Module("tabs", {
|
||||
this._lastBufferSwitchArgs = "";
|
||||
this._lastBufferSwitchSpecial = true;
|
||||
|
||||
this.tabBinding = styles.addSheet(true, "tab-binding", "chrome://browser/content/browser.xul", String.replace(<![CDATA[
|
||||
this.tabBinding = styles.addSheet(true, "tab-binding", "chrome://browser/content/browser.xul", String.replace(<><![CDATA[
|
||||
xul|tab { -moz-binding: url(chrome://dactyl/content/bindings.xml#tab-3) !important; }
|
||||
#TabsToolbar > xul|tabs > xul|tab { -moz-binding: url(chrome://dactyl/content/bindings.xml#tab-4) !important; }
|
||||
// FIXME: better solution for themes?
|
||||
.tabbrowser-tab[busy] > .tab-icon > .tab-icon-image { list-style-image: url('chrome://global/skin/icons/loading_16.png') !important; }
|
||||
]]>, /tab-./g, function (m) dactyl.has("Darwin") ? "tab-mac" : m),
|
||||
]]></>, /tab-./g, function (m) dactyl.has("Darwin") ? "tab-mac" : m),
|
||||
false, true);
|
||||
|
||||
// hide tabs initially to prevent flickering when 'stal' would hide them
|
||||
|
||||
Reference in New Issue
Block a user