Missing normalization in enums

Issue #1 resolved
Fredrik Johansson
created an issue

Generated enums are missing the normalized function



this.getNormalizedObject = function() { ... }

This is needed for monitoring UI:s

To reproduce;

  1. Create an enum (myEnum)
  2. Create a struct (myStruct) with a list of myEnums
  3. Generate Javascript
  4. Create a myStruct and populate the list
  5. Call getNormalizedObject() on myStruct

The error manifests itself like this:

TypeError: Object 4 has no method 'getNormalizedObject'

Comments (2)

  1. Log in to comment