1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 19:34:11 +01:00

Muck with stringmap/sitemap/stringmap default value completions.

This commit is contained in:
Kris Maglione
2011-08-07 23:47:48 -04:00
parent cb1d409c3e
commit 52fe2c4f58
2 changed files with 21 additions and 0 deletions

View File

@@ -434,6 +434,7 @@ var Styles = Module("Styles", {
else
test = function test(uri) { try { return util.isSubdomain(uri.host, filter); } catch (e) { return false; } };
test.toString = function toString() filter;
test.key = filter;
if (arguments.length < 2)
return test;
return test(arguments[1]);