mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 17:27:57 +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)
|
||||
config.tabbrowser.tabContainer._positionPinnedTabs();
|
||||
},
|
||||
/*
|
||||
validator: function (opts) dactyl.has("Gecko2") ||
|
||||
Option.validIf(!/[nN]/.test(opts), "Tab numbering not available in this " + config.host + " version")
|
||||
*/
|
||||
|
||||
}
|
||||
].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[
|
||||
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),
|
||||
false, true);
|
||||
},
|
||||
|
||||
@@ -238,8 +238,8 @@ function properties(obj, prototypes, debugger_) {
|
||||
let seen = { dactylPropertyNames: true };
|
||||
|
||||
try {
|
||||
if ("dactylpropertynames" in obj && !prototypes)
|
||||
for (let key in values(dactylpropertynames))
|
||||
if ("dactylPropertyNames" in obj && !prototypes)
|
||||
for (let key in values(obj.dactylPropertyNames))
|
||||
if (key in obj && !set.add(seen, key))
|
||||
yield key;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user