From fbdea413994ec17e18eaf1b90cc4f8e9eb26cf78 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Fri, 30 Jan 2015 00:02:25 +1100 Subject: [PATCH] comment out strictMode option until acorn-6to5 works properly --- lib/6to5/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/6to5/file.js b/lib/6to5/file.js index 1780dff724..994fc344d5 100644 --- a/lib/6to5/file.js +++ b/lib/6to5/file.js @@ -316,7 +316,7 @@ File.prototype.parse = function (code) { var opts = this.opts; 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) { self.transform(tree);