1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 21:12:27 +01:00

Resurrect my range finder, Part I.

This commit is contained in:
Kris Maglione
2009-11-09 23:00:56 -05:00
parent dd924d0822
commit 95fa7a4037
4 changed files with 298 additions and 8 deletions

View File

@@ -828,7 +828,7 @@ const Completion = Module("completion", {
// v[0] in orig and orig[v[0]] catch different cases. XPCOM
// objects are problematic, to say the least.
compl = [v for (v in this.iter(obj))
if ((typeof orig == "object" && v[0] in orig) || getKey(orig, v[0]) !== undefined)];
if (v && (typeof orig == "object" && v[0] in orig || getKey(orig, v[0]) !== undefined))];
}
// And if wrappedJSObject happens to be available,