| OLD | NEW |
| 1 --- | 1 --- |
| 2 layout: default | 2 layout: default |
| 3 title: "Get Started" | 3 title: "Get Started" |
| 4 description: "Get Dart and run two Dart applications" | 4 description: "Get Dart and run two Dart applications" |
| 5 has-permalinks: true | 5 has-permalinks: true |
| 6 tutorial: | 6 tutorial: |
| 7 id: get-started | 7 id: get-started |
| 8 js: | 8 js: |
| 9 - url: /js/os-switcher.js | 9 - url: /js/os-switcher.js |
| 10 defer: true | 10 defer: true |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 * You can use Dart for web apps and command-line apps. | 24 * You can use Dart for web apps and command-line apps. |
| 25 * Run Dart web apps directly in Dartium. | 25 * Run Dart web apps directly in Dartium. |
| 26 * Compile Dart apps to JavaScript for other browsers. | 26 * Compile Dart apps to JavaScript for other browsers. |
| 27 * All Dart apps have a main() function. | 27 * All Dart apps have a main() function. |
| 28 * Dart supports top-level functions. | 28 * Dart supports top-level functions. |
| 29 | 29 |
| 30 {% endcapture %} | 30 {% endcapture %} |
| 31 | 31 |
| 32 {% capture sample_links %} | 32 {% capture sample_links %} |
| 33 | 33 |
| 34 <p> | 34 This tutorial features two examples |
| 35 Get the source code for the samples featured in this tutorial:</p> | 35 provided by Dart Editor: |
| 36 | 36 |
| 37 <ul> | 37 * helloworld |
| 38 <li> | 38 * clickme |
| 39 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web
/get-started/helloworld" | |
| 40 target="_blank">helloworld</a> | |
| 41 </li> | |
| 42 <li> | |
| 43 <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web
/get-started/clickme" | |
| 44 target="_blank">clickme</a> | |
| 45 </li> | |
| 46 </ul> | |
| 47 | 39 |
| 48 {% endcapture %} | 40 {% endcapture %} |
| 49 | 41 |
| 50 {% capture content %} | 42 {% capture content %} |
| 51 | 43 |
| 52 <div class="tute-target-title"> | 44 <div class="tute-target-title"> |
| 53 <h1>{{page.title}}</h1> | 45 <h1>{{page.title}}</h1> |
| 54 <h3>Get Dart. Run two apps.</h3> | 46 <h3>Get Dart. Run two apps.</h3> |
| 55 </div> | 47 </div> |
| 56 | 48 |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 <li> | 588 <li> |
| 597 The <a href="/docs/">Programmer's Guide</a> | 589 The <a href="/docs/">Programmer's Guide</a> |
| 598 points you to docs, articles, | 590 points you to docs, articles, |
| 599 and other resources to help you as you create, | 591 and other resources to help you as you create, |
| 600 test, and deploy Dart code. | 592 test, and deploy Dart code. |
| 601 </li> | 593 </li> |
| 602 </ul> | 594 </ul> |
| 603 | 595 |
| 604 ##What next? | 596 ##What next? |
| 605 | 597 |
| 606 The next tutorial, [Connect Dart & HTML](/docs/tutorials/connect-dart-html/), | 598 * Get the code for all of the Dart tutorials samples. |
| 607 steps you through writing a tiny web app from scratch. | 599 <a href="https://github.com/dart-lang/dart-tutorials-samples/archive/master.zi
p"> |
| 600 Download the ZIP file</a>, unzip it, |
| 601 and open `dart-tutorials-samples` in Dart Editor. |
| 602 |
| 603 * Go to the next tutorial, [Connect Dart & HTML](/docs/tutorials/connect-dart-ht
ml/), |
| 604 which steps you through writing a tiny web app from scratch. |
| 608 | 605 |
| 609 {% endcapture %} | 606 {% endcapture %} |
| 610 | 607 |
| 611 {% include tutorial.html %} | 608 {% include tutorial.html %} |
| OLD | NEW |