OLD | NEW |
1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
2 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
3 // for details. All rights reserved. Use of this source code is governed by a | 3 // for details. All rights reserved. Use of this source code is governed by a |
4 // BSD-style license that can be found in the LICENSE file. | 4 // BSD-style license that can be found in the LICENSE file. |
5 | 5 |
6 /// Runs io.js with dev_compiler's generated code. | 6 /// Runs io.js with dev_compiler's generated code. |
7 library dev_compiler.bin.devrun; | 7 library dev_compiler.bin.devrun; |
8 | 8 |
9 import 'dart:io'; | 9 import 'dart:io'; |
10 | 10 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 .join("\n")} | 81 .join("\n")} |
82 <script>$startStatement</script> | 82 <script>$startStatement</script> |
83 </body></html> | 83 </body></html> |
84 '''); | 84 '''); |
85 | 85 |
86 stderr.writeln( | 86 stderr.writeln( |
87 'Wrote $htmlOutput. It can be opened in Chrome Dev with the following flag
s:\n' | 87 'Wrote $htmlOutput. It can be opened in Chrome Dev with the following flag
s:\n' |
88 '--js-flags="--harmony-arrow-functions ' | 88 '--js-flags="--harmony-arrow-functions ' |
89 '--harmony-classes ' | 89 '--harmony-classes ' |
90 '--harmony-computed-property-names ' | 90 '--harmony-computed-property-names ' |
| 91 '--harmony_destructuring ' |
91 '--harmony-spreadcalls"' | 92 '--harmony-spreadcalls"' |
92 '\n'); | 93 '\n'); |
93 } | 94 } |
OLD | NEW |