Merge pull request #5015 from loganfsmyth/revert-react-jsx

Revert babel-helper-builder-react-jsx change from #4988
This commit is contained in:
Logan Smyth
2016-12-17 21:07:56 -08:00
committed by GitHub
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);

View File

@@ -1,3 +0,0 @@
{
"throws": "Spread children are not supported."
}