Index: lib/src/codegen/js_printer.dart |
diff --git a/lib/src/codegen/js_printer.dart b/lib/src/codegen/js_printer.dart |
index 7503c7cd2b184413f71ddd15909ae32abbdcfbeb..65932a6afd7559fd94cc1666d9ac8d414774c8e1 100644 |
--- a/lib/src/codegen/js_printer.dart |
+++ b/lib/src/codegen/js_printer.dart |
@@ -18,7 +18,7 @@ import 'js_names.dart' show TemporaryNamer; |
String writeJsLibrary( |
JS.Program jsTree, String outputPath, String inputDir, Uri serverUri, |
- {bool emitSourceMaps: false, bool arrowFnBindThisWorkaround: false}) { |
+ {bool emitSourceMaps: false}) { |
var outFilename = path.basename(outputPath); |
var outDir = path.dirname(outputPath); |
new Directory(outDir).createSync(recursive: true); |
@@ -33,9 +33,7 @@ String writeJsLibrary( |
} |
var opts = new JS.JavaScriptPrintingOptions( |
- allowKeywordsInProperties: true, |
- allowSingleLineIfStatements: true, |
- arrowFnBindThisWorkaround: arrowFnBindThisWorkaround); |
+ allowKeywordsInProperties: true, allowSingleLineIfStatements: true); |
var jsNamer = new TemporaryNamer(jsTree); |
jsTree.accept(new JS.Printer(opts, context, localNamer: jsNamer)); |