mohsen1 / json-formatter

Angular directive for collapsible JSON in HTML
http://azimi.me/json-formatter/demo/demo.html
Other
372 stars 85 forks source link

use constructor.name property by default for custom name, if defined #60

Closed cozyazure closed 8 years ago

cozyazure commented 8 years ago

For ES6, constructor's name will be the same as the class name of an object, and it will be stored under the __proto__.constructor.name. If this is defined, use this custom name instead.

katanacrimson commented 6 years ago

Any way this could make its way into a new release? 0.6.0 is out there, with these commits dangling off of master.

mohsen1 commented 6 years ago

I'll cut a release today

katanacrimson commented 6 years ago

Thanks much!

mohsen1 commented 6 years ago

Released in v0.7.0