| OLD | NEW |
| 1 --- | 1 --- |
| 2 layout: default | 2 layout: default |
| 3 title: "dart2js: The Dart-to-JavaScript Compiler" | 3 title: "dart2js: The Dart-to-JavaScript Compiler" |
| 4 description: "Use dart2js, the Dart to JavaScript compiler, to enable your Dart
web apps to work on all modern browsers." | 4 description: "Use dart2js, the Dart to JavaScript compiler, to enable your Dart
web apps to work on all modern browsers." |
| 5 --- | 5 --- |
| 6 | 6 |
| 7 # {{ page.title }} | 7 # {{ page.title }} |
| 8 | 8 |
| 9 This page tells you how to use the _dart2js_ tool | 9 This page tells you how to use the _dart2js_ tool |
| 10 to compile Dart code to JavaScript. | 10 to compile Dart code to JavaScript. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 Common command-line options for dart2js include: | 31 Common command-line options for dart2js include: |
| 32 | 32 |
| 33 -o_<file>_ | 33 -o_<file>_ |
| 34 : Generate the output into _<file>_. | 34 : Generate the output into _<file>_. |
| 35 | 35 |
| 36 -c | 36 -c |
| 37 : Insert runtime type checks and enable assertions (checked mode). | 37 : Insert runtime type checks and enable assertions (checked mode). |
| 38 | 38 |
| 39 -h | 39 -h |
| 40 : Display this message (add -v for information about all options). | 40 : Display this message (add -v for information about all options). |
| 41 | |
| 42 | |
| 43 <aside class="note"> | |
| 44 <b>What happened to frog?</b> | |
| 45 frog was a previous version of a Dart-to-JavaScript | |
| 46 compiler. It has been deprecated and replaced by dart2js. | |
| 47 </aside> | |
| OLD | NEW |