Revert babel-helper-builder-react-jsx change from #4988

This commit is contained in:
Logan Smyth
2016-12-17 20:50:03 -08:00
parent 77d9e3e5c4
commit dbc07220ae
3 changed files with 0 additions and 8 deletions

View File

@@ -17,10 +17,6 @@ export default function (opts) {
throw path.buildCodeFrameError("Namespace tags are not supported. ReactJSX is not XML.");
};
visitor.JSXSpreadChild = function(path) {
throw path.buildCodeFrameError("Spread children are not supported.");
};
visitor.JSXElement = {
exit(path, file) {
let callExpr = buildElementCall(path.get("openingElement"), file);