Skip to content

Commit fa029e5

Browse files
committed
implement global
1 parent 9e6162d commit fa029e5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

node_translators/global.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
module.exports = function (node, indent) {
55
var codegen = this.process.bind(this);
6-
return 'global ' + node[1].map(function (x) { return codegen(x, indent); }).join(',' + this.ws);
6+
return 'global ' + node.items.map(function (x) {
7+
return codegen(x, indent);
8+
}).join(',' + this.ws);
79
};
8-

0 commit comments

Comments
 (0)