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

Gecko *really* wasnt designed with object member completion in mind. :(

This commit is contained in:
Kris Maglione
2008-11-18 21:03:14 +00:00
parent e9608cccaf
commit 4bf7141d51

View File

@@ -158,7 +158,7 @@ function Completion() //{{{
let orig = obj; let orig = obj;
if (obj.wrappedJSObject) if (obj.wrappedJSObject)
obj = obj.wrappedJSObject; obj = obj.wrappedJSObject;
compl.push([v for (v in this.iter(obj)) if (v[0] in orig)]) compl.push([v for (v in this.iter(obj)) if (v[0] in orig || orig[v[0]])])
// And if wrappedJSObject happens to be available, // And if wrappedJSObject happens to be available,
// return that, too. // return that, too.
if (orig.wrappedJSObject) if (orig.wrappedJSObject)