andreypopp / reactify

[DEPRECATED] Browserify transform for JSX (superset of JavaScript used in React library by Facebook)
MIT License
690 stars 68 forks source link

typo in error message #44

Closed Pomax closed 9 years ago

Pomax commented 9 years ago
ReactifyError: C:\Users\Mike\Documents\Git projects\collaborations\mofo-example-app\react\LogoType.jsx:
Parse Error: Line 9: Expected corresponding XJS closing tag for img while parsing file:
C:\Users\Mike\Documents\Git projects\collaborations\mofo-example-app\react\LogoType.jsx

That XJS should probably be JSX =)

andreypopp commented 9 years ago

This error message is originating from esprima-fb.XJS is a legacy name for JSX AFAIK.

andreypopp commented 9 years ago

See https://github.com/facebook/esprima/issues/83