Skip to content

Commit

Permalink
Revert babel-helper-builder-react-jsx change from babel#4988
Browse files Browse the repository at this point in the history
  • Loading branch information
loganfsmyth authored and panagosg7 committed Jan 17, 2017
1 parent 83fc7f8 commit 9b19516
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions packages/babel-helper-builder-react-jsx/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 9b19516

Please sign in to comment.