mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 23:37:58 +01:00
Fix util.regexp#closure and so forth on FF36.
This commit is contained in:
@@ -1391,8 +1391,10 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
|||||||
if (config.tabbrowser.tabContainer._positionPinnedTabs)
|
if (config.tabbrowser.tabContainer._positionPinnedTabs)
|
||||||
config.tabbrowser.tabContainer._positionPinnedTabs();
|
config.tabbrowser.tabContainer._positionPinnedTabs();
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
validator: function (opts) dactyl.has("Gecko2") ||
|
validator: function (opts) dactyl.has("Gecko2") ||
|
||||||
Option.validIf(!/[nN]/.test(opts), "Tab numbering not available in this " + config.host + " version")
|
Option.validIf(!/[nN]/.test(opts), "Tab numbering not available in this " + config.host + " version")
|
||||||
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
].filter(function (group) !group.feature || dactyl.has(group.feature));
|
].filter(function (group) !group.feature || dactyl.has(group.feature));
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ var Tabs = Module("tabs", {
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.tabBinding = styles.system.add("tab-binding", "chrome://browser/content/browser.xul", String.replace(<><![CDATA[
|
this.tabBinding = styles.system.add("tab-binding", "chrome://browser/content/browser.xul", String.replace(<><![CDATA[
|
||||||
xul|tab { -moz-binding: url(resource://dactyl-content/bindings.xml#tab) !important; }
|
xul|tab { -moz-binding: url(dactyl://content/bindings.xml#tab) !important; }
|
||||||
]]></>, /tab-./g, function (m) util.OS.isMacOSX ? "tab-mac" : m),
|
]]></>, /tab-./g, function (m) util.OS.isMacOSX ? "tab-mac" : m),
|
||||||
false, true);
|
false, true);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -238,8 +238,8 @@ function properties(obj, prototypes, debugger_) {
|
|||||||
let seen = { dactylPropertyNames: true };
|
let seen = { dactylPropertyNames: true };
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if ("dactylpropertynames" in obj && !prototypes)
|
if ("dactylPropertyNames" in obj && !prototypes)
|
||||||
for (let key in values(dactylpropertynames))
|
for (let key in values(obj.dactylPropertyNames))
|
||||||
if (key in obj && !set.add(seen, key))
|
if (key in obj && !set.add(seen, key))
|
||||||
yield key;
|
yield key;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user