michmech / xonomy

A schema-driven XML editor for the web.
MIT License
91 stars 32 forks source link

Xonomy.renderAttribute classNames is undefined #16

Open kiliit opened 7 years ago

kiliit commented 7 years ago
Xonomy.renderAttribute=function(attribute, optionalParentName) {
var htmlID=Xonomy.nextID();
classNames="attribute";
littlemju commented 6 years ago

I just found this issue too, I solved it by adding "var" there. It looks like with less strict JS parsing it's assigned properly.

Sadly, this project seems abandoned, or I would submit a PR.