| Index: client/dom/scripts/idlrenderer.py
|
| diff --git a/client/dom/scripts/idlrenderer.py b/client/dom/scripts/idlrenderer.py
|
| index 2237736155ad60826a597340f1bb8c2026e9fbf1..0e95040db2a147cc434f0d5273420f4c498f270d 100755
|
| --- a/client/dom/scripts/idlrenderer.py
|
| +++ b/client/dom/scripts/idlrenderer.py
|
| @@ -105,9 +105,20 @@ def render(idl_node, indent_str=' '):
|
| w(k)
|
| v = node[k]
|
| if v is not None:
|
| - w('=%s' % v.__str__())
|
| + if isinstance(v, IDLExtAttrFunctionValue):
|
| + if v.id:
|
| + w('=')
|
| + w(v)
|
| + else:
|
| + w('=%s' % v.__str__())
|
| i += 1
|
| w('] ')
|
| + elif isinstance(node, IDLExtAttrFunctionValue):
|
| + if node.id:
|
| + w(node.id)
|
| + w('(')
|
| + w(node.arguments, ', ')
|
| + w(')')
|
| elif isinstance(node, IDLAttribute):
|
| w(node.annotations)
|
| w(node.ext_attrs)
|
|
|