Pass per preset: Use full function systax in test for old Node versions

This commit is contained in:
Dmitry Soshnikov
2016-01-21 15:14:42 -08:00
parent e2486b5f71
commit 845a4fa557

View File

@@ -57,7 +57,7 @@ suite("api", function () {
plugins: [
new Plugin({
visitor: {
Function(path) {
Function: function(path) {
var node = path.node;
var scope = path.scope;