facebook / jsx

The JSX specification is a XML-like syntax extension to ECMAScript.
http://facebook.github.io/jsx/
1.96k stars 133 forks source link

JSXMemberExpression should allow comments? #5

Closed syranide closed 10 years ago

syranide commented 10 years ago

The documented JSXMemberExpression does not allow comments, it's allowed in JS so it makes sense for JSX to support it too (although we might not want to allow whitespace?). But it's obviously not important at all.

sebmarkbage commented 10 years ago

I fixed this by just referring to the ECMAScript tokenization which would allow for whitespace between any identifier or punctuator.