fix linting errors

This commit is contained in:
Sebastian McKenzie
2014-11-12 00:33:39 +11:00
parent def4319058
commit af59eb7d6a
2 changed files with 4 additions and 5 deletions

View File

@@ -1,6 +1,5 @@
var Node = require("./index");
var t = require("../../types");
var _ = require("lodash");
var t = require("../../types");
var _ = require("lodash");
var PRECEDENCE = {};

View File

@@ -15,7 +15,7 @@ exports.before = {
}
},
CallExpression: function (node, parent) {
CallExpression: function (node) {
if (t.isFunction(node.callee)) {
return 1;
}
@@ -28,7 +28,7 @@ exports.after = {
list: {
VariableDeclaration: function (node) {
return _.map(node.declarations, "init");;
return _.map(node.declarations, "init");
},
ArrayExpression: function (node) {