Skip to content
Browse files

saves the ns of the enum

  • Loading branch information...
1 parent bc01c2c commit c89784ade06b70f824b82916d5a4b7e3208703b0 @funkaster committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 js/generate_bindings.rb
View
1 js/generate_bindings.rb
@@ -1177,6 +1177,7 @@ def find_enums
parent = enum.parent
if parent.name == "Enum" && !parent['name'].empty?
@enums[parent['name']] ||= {}
+ @enums[parent['name']]['__ns'] = parent.parent['name'] if parent.parent.name == "Namespace"
@enums[parent['name']][enum['name']] = enum['value']
end
end

0 comments on commit c89784a

Please sign in to comment.
Something went wrong with that request. Please try again.