mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 22:52:32 +02:00
Fix JS completion bug.
--HG-- branch : testing
This commit is contained in:
1 parent
05a3bcf180
commit
9589d33fd2
1 file changed
+3
-1
@@ -59,7 +59,9 @@ const JavaScript = Module("javascript", {
|
||||
}
|
||||
// The debugger doesn't list some properties. I can't guess why.
|
||||
for (let k in orig)
|
||||
if (k in orig && !('|' + k in seen) && orig.hasOwnProperty(k) == toplevel)
|
||||
if (k in orig && !('|' + k in seen)
|
||||
&& callable(orig.hasOwnProperty)
|
||||
&& orig.hasOwnProperty(k) == toplevel)
|
||||
yield [k, this.getKey(orig, k)]
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in new issue
Block a user