Closed Eminenz closed 11 years ago
This was already fixed a few days ago and will be available with ComponentJS 0.9.7: https://github.com/rse/componentjs/commit/2a21996069f9f3f348eb1e88569340ec46c207db
ComponentJS 0.9.7 now released (includes this fix, too)
While upgrading 0.9.4 to 0.9.6, our subclass broke. Seems like the problem is the validation parser:
Line 1557: extend: { def: undefined, valid: "clazz" },
tries to validate the extend parameter for 'clazz', whereas the parser
Line 658: else if (symbol.match(/^(?:class|trait|component)$/)) Line 740: if (!special.match(/^(?:class|trait|component)$/))
parses the validation 'class'. Changing those to 'clazz' fixes our issue, but I don't know if this is desirable for the library.