enums icon indicating copy to clipboard operation
enums copied to clipboard

Error in Enum constructor when using object

Open RenaudF opened this issue 11 years ago • 0 comments

When i use the following object to instanciate an enum it works:

new enums.Enum({DEFAULT: {name: 'default'}});

But it will fail with the following:

new enums.Enum({DEFAULT: 'default'});

RenaudF avatar May 01 '13 15:05 RenaudF