Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
extraneous comma in global expression builder
Browse files Browse the repository at this point in the history
  • Loading branch information
dennispg committed Aug 21, 2015
1 parent d0a7843 commit 55bb8d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compilers/global.js
Expand Up @@ -90,7 +90,7 @@ GlobalTransformer.prototype.transformScript = function(tree) {
globalExpression = '{';
var first = true;
for (var g in this.globals) {
globalExpression += (first ? '' : ',') + nl + '"' + g + '": __require("' + this.globals[g] + '"),';
globalExpression += (first ? '' : ',') + nl + '"' + g + '": __require("' + this.globals[g] + '")';
first = false;
}
globalExpression += nl + '}';
Expand Down

0 comments on commit 55bb8d4

Please sign in to comment.