This happens in both JSXTransformer 0.3.0 and 0.3.2
Something like:
/** @jsx React.DOM */<diva={(1)}// BAD: this works only if you remove the parens here.b={2}>
hi2u!
</div>Gets transformed into:
/** @jsx React.DOM */React.DOM.div({a:(1,)// BAD: SYNTAX ERRORb:2},null)Test/demo case at:
http://jsfiddle.net/mvD4f/2/
I think this might be related to the {/* this fails currently */} issue at #82
This happens in both JSXTransformer 0.3.0 and 0.3.2
Something like:
Gets transformed into:
Test/demo case at:
http://jsfiddle.net/mvD4f/2/
I think this might be related to the
{/* this fails currently */}issue at #82