comment out strictMode option until acorn-6to5 works properly

This commit is contained in:
Sebastian McKenzie 2015-01-30 00:02:25 +11:00
parent 5d720dbc43
commit fbdea41399

View File

@ -316,7 +316,7 @@ File.prototype.parse = function (code) {
var opts = this.opts; var opts = this.opts;
opts.allowImportExportEverywhere = this.isLoose("es6.modules"); opts.allowImportExportEverywhere = this.isLoose("es6.modules");
opts.strictMode = this.transformers.useStrict.canRun(); //opts.strictMode = this.transformers.useStrict.canRun();
return util.parse(opts, code, function (tree) { return util.parse(opts, code, function (tree) {
self.transform(tree); self.transform(tree);