rename NumberLiteral to NumericLiteral and RegexLiteral to RegExpLiteral

This commit is contained in:
Sebastian McKenzie
2015-11-03 01:19:35 +00:00
parent 9bc95258e6
commit e62a00df50
404 changed files with 622 additions and 573 deletions

View File

@@ -33,7 +33,7 @@ export default function ({ types: t }) {
}
}
state.set("jsxIdentifier", id.split(".").map(t.identifier).reduce(function (object, property) {
state.set("jsxIdentifier", id.split(".").map((name) => t.identifier(name)).reduce(function (object, property) {
return t.memberExpression(object, property);
}));
};