1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 23:18:01 +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) 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));

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

View File

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