remove noisy comments
This commit is contained in:
12
packages/babel-types/src/react.js
vendored
12
packages/babel-types/src/react.js
vendored
@@ -2,18 +2,10 @@ import * as t from "./index";
|
||||
|
||||
export var isReactComponent = t.buildMatchMemberExpression("React.Component");
|
||||
|
||||
/**
|
||||
* [Please add a description.]
|
||||
*/
|
||||
|
||||
export function isCompatTag(tagName) {
|
||||
return tagName && /^[a-z]|\-/.test(tagName);
|
||||
}
|
||||
|
||||
/**
|
||||
* [Please add a description.]
|
||||
*/
|
||||
|
||||
function cleanJSXElementLiteralChild(child, args) {
|
||||
var lines = child.value.split(/\r\n|\n|\r/);
|
||||
|
||||
@@ -59,10 +51,6 @@ function cleanJSXElementLiteralChild(child, args) {
|
||||
if (str) args.push(t.stringLiteral(str));
|
||||
}
|
||||
|
||||
/**
|
||||
* [Please add a description.]
|
||||
*/
|
||||
|
||||
export function buildChildren(node) {
|
||||
var elems = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user