fix linting errors

This commit is contained in:
Sebastian McKenzie 2015-02-22 22:37:51 +11:00
parent 5f6808ba92
commit 341528ee4a
2 changed files with 0 additions and 7 deletions

View File

@ -111,10 +111,6 @@ var visit = function (node, name, scope) {
return state; return state;
}; };
var hasParamOfSameName = function (name, scope) {
return bindingInfo && bindingInfo.kind === "param";
};
exports.property = function (node, file, scope) { exports.property = function (node, file, scope) {
var key = t.toComputedKey(node, node.key); var key = t.toComputedKey(node, node.key);
if (!t.isLiteral(key)) return node; // we can't set a function id with this if (!t.isLiteral(key)) return node; // we can't set a function id with this

View File

@ -1,8 +1,5 @@
"use strict"; "use strict";
var nameMethod = require("../../helpers/name-method"); var nameMethod = require("../../helpers/name-method");
var util = require("../../../util");
var t = require("../../../types");
//exports.ArrowFunctionExpression =
exports.FunctionExpression = nameMethod.bare; exports.FunctionExpression = nameMethod.bare;