mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-12 23:15:46 +01:00
Match only complete words in :lk filters. Should we maybe support regexps instead?
This commit is contained in:
@@ -273,7 +273,15 @@ function prototype(obj)
|
||||
|
||||
function properties(obj, prototypes, debugger_) {
|
||||
let orig = obj;
|
||||
let seen = {};
|
||||
let seen = { dactylPropertyNames: true };
|
||||
|
||||
try {
|
||||
if ("dactylpropertynames" in obj && !prototypes)
|
||||
for (let key in values(dactylpropertynames))
|
||||
if (key in obj && !set.add(seen, key))
|
||||
yield key;
|
||||
}
|
||||
catch (e) {}
|
||||
|
||||
for (; obj; obj = prototypes && prototype(obj)) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user