Skip to content

Commit a6f14ca

Browse files
committed
js(build): fix generator with Python3
- class_info.props is a 'list'
1 parent f8740e1 commit a6f14ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/js/generator/embindgen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ def gen(self, dst_file, src_files, core_bindings):
820820

821821

822822
# Generate bindings for properties
823-
for property in sorted(class_info.props):
823+
for property in class_info.props:
824824
_class_property = class_property_enum_template if property.tp in type_dict else class_property_template
825825
class_bindings.append(_class_property.substitute(js_name=property.name, cpp_name='::'.join(
826826
[class_info.cname, property.name])))

0 commit comments

Comments
 (0)