* 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
7 lines
185 B
JavaScript
7 lines
185 B
JavaScript
/** @jsx dom */
|
|
dom(Foo, null);
|
|
var profile = dom("div", null, dom("img", {
|
|
src: "avatar.png",
|
|
className: "profile"
|
|
}), dom("h3", null, [user.firstName, user.lastName].join(" ")));
|