fix hash bang support

This commit is contained in:
Sebastian McKenzie 2014-12-10 21:54:38 +11:00
parent bac8758369
commit 30a90d2554

View File

@ -165,7 +165,7 @@ File.prototype.addCode = function (code) {
File.prototype.parse = function (code) {
var self = this;
this.addCode(code);
code = this.addCode(code);
return util.parse(this.opts, code, function (tree) {
self.transform(tree);