* Removed the deprecated jsx pragma detection code and the concerned tests that included jsx-pragma * Removed extra tests * Restored packages/babel-plugin-transform-react-jsx/test/fixtures/react/honor-custom-jsx-pragma-option/ * Added JSX_ANNOTATION_REGEX * Reverted the tests for jsx-pragma-options and removed those which throw deprecated message
8 lines
160 B
JavaScript
8 lines
160 B
JavaScript
/** @jsx dom */
|
|
|
|
<Foo></Foo>;
|
|
|
|
var profile = <div>
|
|
<img src="avatar.png" className="profile" />
|
|
<h3>{[user.firstName, user.lastName].join(" ")}</h3>
|
|
</div>; |