concerto / concerto-frontend

Frontend JS code for Concerto
http://concerto-signage.org
Other
7 stars 5 forks source link

Registering Content Types #4

Closed gbprz closed 9 years ago

gbprz commented 9 years ago

In #3, it was mentioned that RegisterContentTypes() uses the content element's name attribute instead of the constructor attribute to build keys for the Types object. A reference to the element is then saved as the value by using the constructor name and window object.

It was mentioned this needed to be improved. Maybe the element's constructor attribute should be used as the key instead?