mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
parent
c064c4950d
commit
d678b20616
4 changed files with 54 additions and 16 deletions
|
@ -85,6 +85,8 @@ class Configuration:
|
|||
getter = lambda x: x.interface.isCallback()
|
||||
elif key == 'isJSImplemented':
|
||||
getter = lambda x: x.interface.isJSImplemented()
|
||||
elif key == 'isGlobal':
|
||||
getter = lambda x: x.isGlobal()
|
||||
else:
|
||||
getter = lambda x: getattr(x, key)
|
||||
curr = filter(lambda x: getter(x) == val, curr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue