use thisExpression instead of identifier("this")

This commit is contained in:
Sebastian McKenzie 2015-01-06 12:08:53 +11:00
parent e3174d5a39
commit 7c7cd6f9b8

View File

@ -67,7 +67,7 @@ var go = function (getBody, node, file, scope) {
} }
if (thisId) { if (thisId) {
pushDeclaration(thisId, t.identifier("this")); pushDeclaration(thisId, t.thisExpression());
} }
}; };