fix linting errors

This commit is contained in:
Sebastian McKenzie
2015-02-02 10:48:18 +11:00
parent 6919ed2b34
commit 0b33a62032
2 changed files with 2 additions and 2 deletions

View File

@@ -16,6 +16,6 @@ exports.FunctionExpression = function (node, parent, scope, context) {
context.skip();
};
exports.ThisExpression = function (node, parent, scope, context, file) {
exports.ThisExpression = function () {
return t.identifier("undefined");
};

View File

@@ -447,7 +447,7 @@ t.buildMatchMemberExpression = function (match, allowPartial) {
// too many parts
if (++i > parts.length) {
if (partial) {
if (allowPartial) {
return true;
} else {
return false;