fix getSpecifierName

This commit is contained in:
Sebastian McKenzie 2014-10-10 16:38:22 +11:00
parent 5534f99a96
commit db490b4be7
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ exports.ImportDeclaration = function (node) {
if (node.specifiers.length) {
_.each(node.specifiers, function (specifier) {
var variableName = getSpecifierName(specifier.name);
var variableName = getSpecifierName(specifier);
var key = specifier.id.name;
// import foo from "foo";

View File

@ -1,7 +1,7 @@
{
"name": "6to5",
"description": "Turn ES6 code into vanilla ES5 with source maps and no runtime",
"version": "1.7.5",
"version": "1.7.6",
"author": "Sebastian McKenzie <sebmck@gmail.com>",
"homepage": "https://github.com/sebmck/6to5",
"repository": {