1
0
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:
Kris Maglione
2011-01-18 13:52:12 -05:00
parent c096804e0f
commit 3f26d73ae7
3 changed files with 5 additions and 3 deletions

View File

@@ -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));

View File

@@ -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);
},

View File

@@ -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;
}